Assert that input has a numeric length property.
input
length
assertIsLengthAware('hello'); // does not throw, strings have a numeric lengthassertIsLengthAware(42); // throws TypeError: input is not length aware Copy
assertIsLengthAware('hello'); // does not throw, strings have a numeric lengthassertIsLengthAware(42); // throws TypeError: input is not length aware
Assert that
inputhas a numericlengthproperty.