Skip to main content
Module

x/abstruct/mod.ts>lt

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

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

Examples

Example 1

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