API Browser

Method

Parse

static func Parse(input: string) -> Result<int, FormatException | OverflowException>

Declaring type: Int32Extensions
Namespace: System
Assembly: Raven.Core.dll
Source file: Parse.rvn

Extension from Int32Extensions.Parse

Parses an integer and captures format or overflow failures in a Result.

Parameters

Name Type Description
input String

Return value

Result<Int32, Union<FormatException, OverflowException>>