wallet-core/node_modules/use/utils.js

24 lines
412 B
JavaScript
Raw Normal View History

2017-08-14 05:01:11 +02:00
'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;