Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/value_schema/dist-deno/appliers/string/trims.ts>Rules

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Go to Latest
interface Rules
import { type Rules } from "https://deno.land/x/value_schema@v4.0.0-rc.2/dist-deno/appliers/string/trims.ts";

Properties

optional
trims: boolean

removes whitespace from both ends of a string