@gongiskhan/react-query-builder
Version:
Simple, highly configurable query builder for react
13 lines (12 loc) • 656 B
TypeScript
import { BuilderFieldOperator } from '../components/Builder';
export declare const isBoolean: (value: any) => value is boolean;
export declare const isString: (value: any) => value is string;
export declare const isNumber: (value: any) => value is number;
export declare const isUndefined: (value: any) => value is undefined;
export declare const isArray: (value: any) => value is any[];
export declare const isStringArray: (value: any) => value is string[];
export declare const isOptionList: (value: any) => value is {
value: string;
label: string;
}[];
export declare const isOperator: (value: any) => value is BuilderFieldOperator;