Decimal digits (any script's) with an optional sign, into an integer of type T. False when it does not fit.
parse_integer :: (piece: string, $T: Type) -> (T, bool)
Decimal digits (any script's) with an optional sign, into an integer of type T. False when it does not fit.
Parameters
- piece: string
- $T: Type
Returns
- T
- bool