datetimeRuleProcessorJsonLogic()
datetimeRuleProcessorJsonLogic(
rule:RuleType<string,string,any,string>,options?:ValueProcessorOptions,meta?: {context:Record<string,any>;processedParams:any[] |Record<string,any>; }):any
Date/time rule processor for use by formatQuery with the "jsonlogic" format.
Note: Unlike other date/time rule processors from this library, this function does not require a date/time library API. Instead, the date/time library API is used by getDatetimeJsonLogicOperations during the evaluation process.
Parameters
| Parameter | Type |
|---|---|
rule | RuleType<string, string, any, string> |
options? | ValueProcessorOptions |
meta? | { context: Record<string, any>; processedParams: any[] | Record<string, any>; } |
meta.context? | Record<string, any> |
meta.processedParams? | any[] | Record<string, any> |
Returns
any
Defined in
datetime/src/datetimeRuleProcessorJsonLogic.ts:27
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.