Skip to content

ConstantQualifier

ConstantQualifier embeds the Qualifier interface and exposes its constant value.

id(): number

id returns where the qualifier appears within an expression.

number

Qualifier.id


isOptional(): boolean

isOptional returns whether the qualifier was declared as optional.

boolean

Qualifier.isOptional


qualify(vars, obj): unknown

qualify performs the field or index selection on the input object.

Activation

unknown

unknown

Qualifier.qualify


qualifyIfPresent(vars, obj, presenceOnly): unknown

qualifyIfPresent performs the field or index selection only when the field or index is present.

Activation

unknown

boolean

unknown

Qualifier.qualifyIfPresent


value(): Val

value returns the constant value associated with the qualifier.

Val