UNPKG

311 BTypeScriptView Raw
1import { Nullable } from '../helper-types';
2declare type InListTarget = Nullable<string | number | boolean>;
3export declare type InList<M extends InListTarget> = (str: unknown) => str is M;
4export declare function createInList<M extends InListTarget>(...model: Array<M | InList<M>>): InList<M>;
5export {};