isNotNaN<E> static method
Validates that the number is not NaN.
NumberRules.isNotNaN(error: 'Invalid number')
Implementation
static Rule<double, E> isNotNaN<E>({required E error}) =>
PredicateRule(predicate: (value) => !value.isNaN, error: error);