Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/decorator/typechecker/IsNumber.ts>IsNumberOptions

Decorator-based property validation for classes.
Latest
interface IsNumberOptions
import { type IsNumberOptions } from "https://deno.land/x/deno_class_validator@v1.0.0/src/decorator/typechecker/IsNumber.ts";

Options to be passed to IsNumber decorator.

Properties

optional
allowNaN: boolean
optional
allowInfinity: boolean
optional
maxDecimalPlaces: number