Optional
msg: stringNumberValidationError if numbers are not all between from and to
Optional
msg: stringNumberValidationError if numbers are not all between or equal to from and to
Optional
msg: stringNumberValidationError if numbers are not all > n
Optional
msg: stringNumberValidationError if numbers are not all >= n
Optional
msg: stringNumberValidationError if numbers are not all integers
Optional
msg: stringNumberValidationError if numbers are not all < n
Optional
msg: stringNumberValidationError if numbers are not all <= n
Optional
msg: stringNumberValidationError if numbers are not all negative
Optional
msg: stringNumberValidationError if numbers are not all positive
Validates whether the total of all of our numbers is close to sum, with a maximum difference of diff
The sum
The maximum difference
Optional
msg: stringError message
NumberValidationError If they do not sum close to the correct amount
Validates whether the total of all of our numbers is equal (===) to sum
The sum
Optional
msg: stringError message
NumberValidationError If they do not total to the correct amount
Validates whether the total of all of our numbers is > sum
The sum
Optional
msg: stringError message
NumberValidationError If they do not total to > sum
Validates whether the total of all of our numbers is >= sum
The sum
Optional
msg: stringError message
NumberValidationError If they do not total to >= sum
Validates whether the total of all of our numbers is < sum
The sum
Optional
msg: stringError message
NumberValidationError If they do not total to < sum
Validates whether the total of all of our numbers is <= sum
The sum
Optional
msg: stringError message
NumberValidationError If they do not total to <= sum
Specify the numbers to validate
Descriptive name for this validation