Skip to main content
Module

x/value_schema/dist-deno/exporter.ts>string

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, and Deno
Go to Latest
function string
import { string } from "https://deno.land/x/value_schema@v4.0.0-rc.1/dist-deno/exporter.ts";

schema for string or null or undefined

Returns

StringSchema<null | undefined>

schema for string or undefined

schema for string or null

schema for string