truefit
API reference

truefit/jit

Every export of truefit/jit, with its signature and doc comment: compile.

import { compile } from 'truefit/jit';

Constants

compile

The just-in-time door (spec.md R5): the emitter's text, run through new Function.

const compile: <T>(schema: Schema<T, unknown>) => ((value: unknown) => value is T);

On this page