The lodash method _.toInteger
exported as a module.
ToInteger converts 'argument' to an integral numeric value.
A method to convert the argument to an integral numeric value. This method follows ECMAScript's specification for the 'ToInteger' abstract operation.