Convert this String to num, returns the result of onLeft for invalid inputs.
onLeft
Either<L, num> Function(String) toNumEither<L>(L Function() onLeft) => (str) => str.toNumEither(onLeft);