Skip to main content

isRuleType()

isRuleType(s: unknown): s is RuleType<string, string, any, string>

Defined in: packages/core/src/utils/isRuleGroup.ts:7

Determines if an object is a RuleType (only checks for a field property).

Parameters

ParameterType
sunknown

Returns

s is RuleType<string, string, any, string>


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.