Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/arktype/parse/string/reduce/static.ts>state.reduceSingleBound

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
type alias state.reduceSingleBound
import { type state } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/string/reduce/static.ts";
const { reduceSingleBound } = state;

Type Parameters

s extends StaticState
comparator extends Scanner.Comparator
limit extends NumberLiteral
unscanned extends string
definition: state.from<{ root: [s["root"], comparator, limit]; branches: { range: undefined; &: s["branches"]["&"]; |: s["branches"]["|"]; }; groups: s["groups"]; unscanned: unscanned; }>