Skip to content

Interface.FunctionValidator

github-actions[bot] edited this page Jun 2, 2026 · 32 revisions

umt / FunctionValidator

Interface: FunctionValidator()<Inputs, Output>

Defined in: Validate/function/core.ts:82

Validator value enriched with an implement() method that returns a runtime-checked wrapper of a concrete function matching the schema.

Type Parameters

Inputs

Inputs

Tuple of validators describing positional parameters

Output

Output

Validator describing the return value

FunctionValidator(value): FunctionReturnType<Inputs, Output>

Defined in: Validate/function/core.ts:83

Validator value enriched with an implement() method that returns a runtime-checked wrapper of a concrete function matching the schema.

Parameters

value

InferFunction<Inputs, Output>

Returns

FunctionReturnType<Inputs, Output>

Properties

implement

implement: (function__) => InferFunction<Inputs, Output>

Defined in: Validate/function/core.ts:84

Parameters

function__

InferFunction<Inputs, Output>

Returns

InferFunction<Inputs, Output>

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally