min<T> static method
when valid
- value is null
- value is >= min
Implementation
static FormeValidator<T> min<T>(double min, {String errorText = ''}) {
return (f, T v) => (v != null && v as num < min) ? errorText : null;
}
when valid
static FormeValidator<T> min<T>(double min, {String errorText = ''}) {
return (f, T v) => (v != null && v as num < min) ? errorText : null;
}