multipleOf()
Validates that the number is a multiple of the specified value.
multipleOf(value: number, error?: StringConvertible): this;
Parameters
- value — The divisor.
- error — Custom error message.
Return value
This builder, for chaining.
Related
interface Schema.NumberBuilder static
A validation builder for number values.
