Function multipleOf

Validates that a number is a multiple of the specified value.

`@multipleOf(5) quantity: number;`
  • Parameters

    • value: number

      The number must be divisible by this value

    Returns PropertyDecorator