Lang
Tointeger

_.toInteger(value)

Converts value to an integer.

Note: This method is loosely based on ToInteger.

Arguments

value (*): The value to convert.

Returns

(number): Returns the converted integer.

Example

Deep