Skip to main content
cngx-src documentation

CngxFilterEvaluationOptions

Interface

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

Import#

import { CngxFilterEvaluationOptions } from '@cngx/forms/filter-builder'

Description#

Optional evaluation knobs for evaluateExpression / toFilterPredicate. Omitting the whole object (or any field) resolves to the pure builtin defaults - the no-options path is bit-identical to the historical closed-switch evaluation.

Index#

Instance Properties#

caseInsensitive#boolean
ReadonlyOptional

Fold both sides of the builtin substring trio (contains / startsWith / endsWith) via toLowerCase() before comparing. Default false (case-sensitive). eq / neq keep Object.is identity semantics regardless.

operators#ReadonlyMap
ReadonlyOptional

Operator registry to resolve keys against - typically CNGX_FILTER_BUILDER_CONFIG.operators after withOperators(...) merged consumer definitions over the builtins. Default: CNGX_FILTER_BUILTIN_OPERATOR_DEFS.