UNPKG

typescanner

Version:

A simple library for implementing type guard in TypeScript.

3 lines (2 loc) 121 B
import type { Condition } from "../types"; export declare const scan: <T>(value: unknown, condition: Condition<T>) => T;