From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- .../school/node_modules/lodash/_isLaziable.js | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 includes/external/school/node_modules/lodash/_isLaziable.js (limited to 'includes/external/school/node_modules/lodash/_isLaziable.js') diff --git a/includes/external/school/node_modules/lodash/_isLaziable.js b/includes/external/school/node_modules/lodash/_isLaziable.js deleted file mode 100644 index a57c4f2..0000000 --- a/includes/external/school/node_modules/lodash/_isLaziable.js +++ /dev/null @@ -1,28 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - getData = require('./_getData'), - getFuncName = require('./_getFuncName'), - lodash = require('./wrapperLodash'); - -/** - * 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), - other = lodash[funcName]; - - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; - } - if (func === other) { - return true; - } - var data = getData(other); - return !!data && func === data[0]; -} - -module.exports = isLaziable; -- cgit