Checks if value is a valid array-like index.
value
1.0.0
isIndex(0);// => true Copy
isIndex(0);// => true
isIndex(10);// => true Copy
isIndex(10);// => true
isIndex("10");// => true Copy
isIndex("10");// => true
isIndex("foo");// => false Copy
isIndex("foo");// => false
Checks if
value
is a valid array-like index.