mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v3.10.1.
This commit is contained in:
@@ -11,11 +11,12 @@ import lodash from '../chain/lodash';
|
||||
* @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.
|
||||
*/
|
||||
function isLaziable(func) {
|
||||
var funcName = getFuncName(func);
|
||||
if (!(funcName in LazyWrapper.prototype)) {
|
||||
var funcName = getFuncName(func),
|
||||
other = lodash[funcName];
|
||||
|
||||
if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
|
||||
return false;
|
||||
}
|
||||
var other = lodash[funcName];
|
||||
if (func === other) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user