diff options
Diffstat (limited to 'includes/external/school/node_modules/lodash/_baseIsArguments.js')
-rw-r--r-- | includes/external/school/node_modules/lodash/_baseIsArguments.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/lodash/_baseIsArguments.js b/includes/external/school/node_modules/lodash/_baseIsArguments.js new file mode 100644 index 0000000..b3562cc --- /dev/null +++ b/includes/external/school/node_modules/lodash/_baseIsArguments.js @@ -0,0 +1,18 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]'; + +/** + * The base implementation of `_.isArguments`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + */ +function baseIsArguments(value) { + return isObjectLike(value) && baseGetTag(value) == argsTag; +} + +module.exports = baseIsArguments; |