Skip to main content
Module

x/abstruct/mod.ts>lte

Abstract structure for JavaScript data validation
Latest
function lte
import { lte } from "https://deno.land/x/abstruct@1.0.0/mod.ts";

Factory for validator equivalent to less than or equal to (>=) operator.

Examples

Example 1

import { lte } from "https://deno.land/x/abstruct@$VERSION/bindings.ts";
const validator = lte(255);