Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Literal

import type { Literal } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/schemable.ts";

These are the super-types that a Literal schema must extent. They are used to constrain the inputs for LiteralSchemable.

type Literal =
| string
| number
| boolean
| null
| undefined;

§Type

§
string | number | boolean | null | undefined
[src]