Skip to main content
Module

x/leaves/mod.ts>validator.max

A Web framework For Deno with Decorator and middleware
Latest
function validator.max
import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { max } = validator;

Checks if the first number is less than or equal to the second.

Parameters

num: unknown
max: number

Returns

boolean