mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
more work
This commit is contained in:
17
node_modules/lodash/internal/isLaziable.js
generated
vendored
Normal file
17
node_modules/lodash/internal/isLaziable.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
var LazyWrapper = require('./LazyWrapper'),
|
||||
getFuncName = require('./getFuncName'),
|
||||
lodash = require('../chain/lodash');
|
||||
|
||||
/**
|
||||
* Checks if `func` has a lazy counterpart.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to check.
|
||||
* @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.
|
||||
*/
|
||||
function isLaziable(func) {
|
||||
var funcName = getFuncName(func);
|
||||
return !!funcName && func === lodash[funcName] && funcName in LazyWrapper.prototype;
|
||||
}
|
||||
|
||||
module.exports = isLaziable;
|
Reference in New Issue
Block a user