UNPKG

@canard/schema-form

Version:

React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components

10 lines (9 loc) 460 B
import type { Nullish } from '../../../@aileron/declare'; /** * Function to combine multiple conditions with a specified operator. * @param conditions - Conditions to combine * @param operator - Operator to use ('&&' or '||'). * Default is '&&' (all conditions must be true) * @returns Combined condition expression */ export declare const combineConditions: (conditions: (string | Nullish)[], operator?: "&&" | "||") => string | null;