_.isArguments

_.isArguments(value)

Checks if value is likely an arguments object.

Since

0.1.0

Arguments

  1. value (*): The value to check.

Returns

(boolean): Returns true if value is an arguments object, else false.

Example

1
2
3
4
5
_.isArguments(function() { return arguments; }());
// => true
  
_.isArguments([1, 2, 3]);
// => false
doc_Lodash
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.