source: imaps-frontend/node_modules/lodash-es/_baseIsArguments.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 486 bytes
RevLine 
[d565449]1import baseGetTag from './_baseGetTag.js';
2import isObjectLike from './isObjectLike.js';
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
18export default baseIsArguments;
Note: See TracBrowser for help on using the repository browser.