Garden 🌻

String::as_int()

Parse this string as an integer, returning Some if successful.

Example
"123".as_int() //-> Some(123)
"abc".as_int() //-> None
Source Code
public method as_int(this: String): Option<Int> {
  __BUILT_IN_IMPLEMENTATION
}