lt()
Validates that the number is less than the specified value.
lt(value: number, error?: StringConvertible): this;
Parameters
- value — The value to compare against (exclusive).
- error — Custom error message.
Return value
This builder, for chaining.
Related
interface Schema.NumberBuilder static
A validation builder for number values.
