diff options
Diffstat (limited to 'alarm/node_modules/lodash/_isMasked.js')
-rw-r--r-- | alarm/node_modules/lodash/_isMasked.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/alarm/node_modules/lodash/_isMasked.js b/alarm/node_modules/lodash/_isMasked.js deleted file mode 100644 index 4b0f21b..0000000 --- a/alarm/node_modules/lodash/_isMasked.js +++ /dev/null @@ -1,20 +0,0 @@ -var coreJsData = require('./_coreJsData'); - -/** Used to detect methods masquerading as native. */ -var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; -}()); - -/** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ -function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); -} - -module.exports = isMasked; |