Interface IsNumberOptions

Options to be passed to IsNumber decorator.

interface IsNumberOptions {
    allowInfinity?: boolean;
    allowNaN?: boolean;
    maxDecimalPlaces?: number;
    strict?: boolean;
}

Properties

allowInfinity?: boolean
allowNaN?: boolean
maxDecimalPlaces?: number
strict?: boolean