Checks if value is a valid array-like length.
value
1.0.0
isLength(2);// => true Copy
isLength(2);// => true
isLength(Number.MIN_VALUE);// => false Copy
isLength(Number.MIN_VALUE);// => false
isLength(Infinity);// => false Copy
isLength(Infinity);// => false
isLength("2");// => false Copy
isLength("2");// => false
Checks if
value
is a valid array-like length.