Reads a decimal int from the start of s, as string_to_int does.
to_integer :: (s: string) -> (result: int, success: bool, remainder: string)
Parameters
- s: string
Returns
- result: int
- success: bool
- remainder: string
Reads a decimal int from the start of s, as string_to_int does.
to_integer :: (s: string) -> (result: int, success: bool, remainder: string)