Signature: parseInt(s: string) -> Result<int, StringError>
Description: Strict base-10 signed-int parser. No whitespace tolerance.
Parameters
- s (string): The string to parse
Returns: Result<int, StringError>
Example
parseInt("42") // Success { value: 42 }