_.isArguments

isArguments_.isArguments(object)
Returns true if object is an Arguments object.

(function(){ return _.isArguments(arguments); })(1, 2, 3);
=> true
_.isArguments([1,2,3]);
=> false
doc_Underscore
2016-04-09 09:05:25
Comments
Leave a Comment

Please login to continue.