Use a fallback for invalid input
str::parse and Result::unwrap_or
int.tryParse
Int and except
std.fmt.parseInt
tryparse
Int.init
RegExp.test and Number