tryParse method

int tryParse (String source, { int radix })

Parse source as a, possibly signed, integer literal and return its value.

Like parse except that this function returns null for invalid inputs instead of throwing.

Implementation

external static int tryParse(String source, {int radix});