_.isLength(value)
Checks if value
is a valid array-like length.
Note: This method is loosely based on ToLength
.
Arguments
value (*)
: The value to check.
Returns
(boolean)
: Returns true
if value
is a valid length, else false
.