UNPKG

react-querybuilder

Version:

React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts

14 lines (13 loc) 523 B
/** * Regex matching numeric strings. Passes for positive/negative integers, decimals, * and E notation, with optional surrounding whitespace. */ export declare const numericRegex: RegExp; /** * Determines if a variable is a plain old JavaScript object, aka POJO. */ export declare const isPojo: (obj: any) => obj is Record<string, any>; /** * Simple helper to determine whether a value is null, undefined, or an empty string. */ export declare const nullOrUndefinedOrEmpty: (value: any) => value is null | undefined | "";