UNPKG

succulent

Version:

Powerful and easy runtime type checking

4 lines (3 loc) 170 B
import type { ErrorRef } from "../ref"; import { SchemaBase } from "../schema"; export declare function is<T>(x: unknown, schema: SchemaBase<T>, ref?: ErrorRef): x is T;