source: trip-planner-front/node_modules/lodash/_baseIsArguments.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 488 bytes
RevLine 
[6a3a178]1var baseGetTag = require('./_baseGetTag'),
2 isObjectLike = require('./isObjectLike');
3
4/** `Object#toString` result references. */
5var argsTag = '[object Arguments]';
6
7/**
8 * The base implementation of `_.isArguments`.
9 *
10 * @private
11 * @param {*} value The value to check.
12 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
13 */
14function baseIsArguments(value) {
15 return isObjectLike(value) && baseGetTag(value) == argsTag;
16}
17
18module.exports = baseIsArguments;
Note: See TracBrowser for help on using the repository browser.