Converts value to an integer suitable for use as the length of an array-like object.
The lodash method `_.toLength` exported as a module.
A method to convert an argument to an integer suitable for use as the length of an array-like object. This method follows ECMAScript's specification for the 'ToLength' abstract operation.
TypeScript definitions for lodash.tolength