wallet-core/node_modules/use/utils.js
2017-08-14 05:02:09 +02:00

24 lines
412 B
JavaScript

'use strict';
var utils = require('lazy-cache')(require);
var fn = require;
require = utils; // eslint-disable-line
/**
* Lazily required module dependencies
*/
require('define-property', 'define');
require('isobject', 'isObject');
require = fn; // eslint-disable-line
utils.isString = function(val) {
return val && typeof val === 'string';
};
/**
* Expose `utils` modules
*/
module.exports = utils;