Skip to main content
cngx-src documentation

createEmptyFilterRoot

Functionforms/filter-builder

projects/forms/filter-builder/filter-builder.helpers.ts

Description#

Frozen empty root used as the presenter's model<FilterGroup> default and by CngxFilterBuilderState.clear(). Always returns the same frozen reference so consumers comparing tree identity short-circuit correctly.

Signature#

createEmptyFilterRoot()

Returns#

FilterGroup