Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/arktype/parse/ast/distributableFunction.ts>distributeFunction

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
type alias distributeFunction
import { type distributeFunction } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/ast/distributableFunction.ts";
definition: f extends DistributableFunction<infer input, infer args, infer output> ? evaluate<[domain in domainOf<input>]?: (input: unknown extends input ? unknown : Extract<input, inferDomain<domain>>, ...args: args) => output> : never