Skip to main content

preferAnyProp()

preferAnyProp(def?: any, prop?: any, context?: any): any

Defined in: packages/core/src/utils/preferProp.ts:32

For given default, prop, and context values, return the first provided of prop, context, and default, in that order.

Parameters​

ParameterType
def?any
prop?any
context?any

Returns​

any


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.