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

x/deno_class_validator/src/index.ts>IsPositive

Decorator-based property validation for classes.
Latest
function IsPositive
import { IsPositive } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";

Checks if the value is a positive number greater than zero.

Parameters

optional
validationOptions: ValidationOptions

Returns

PropertyDecorator