Returns a validation function to validate that a number is less than the max value, if given. Exclusive version of
minValueValidator. Can be used to validate that a number is positive by setting lowerBound to 0.
Note: null values count as valid.
Parameters
OptionallowerBound: number
The lower bound of allowed values.
OptionalerrorMessage: string
A custom error message to display if the value is invalid.
Returns a validation function to validate that a number is less than the max value, if given. Exclusive version of minValueValidator. Can be used to validate that a number is positive by setting
lowerBoundto0.Note: null values count as valid.