Lodash.parseInt

Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used unless value is a hexadecimal, in which case a radix of 16 is used.

Note: This method aligns with the ES5 implementation of parseInt.

struct Lodash
nothrow @trusted @safe ref
parseInt
(
T = Any
)
(
auto ref T radix = T.init
)

Return Value

Type: auto ref

- Lodash chained on (number): the converted integer.

Meta