PresentationInstanceFilter.createPrimitiveValueEqualityCondition Function

Function that creates equality condition based on supplied PropertiesField and PrimitiveValue that is compatible with UniquePropertyValuesSelector. If PrimitiveValue.value is undefined created condition uses is-null or is-not-null operator.

createPrimitiveValueEqualityCondition(field: PropertiesField, operator: "is-equal" | "is-not-equal", value: PrimitiveValue): PresentationInstanceFilterCondition

Parameter Type Description
field PropertiesField  
operator "is-equal" | "is-not-equal"  
value PrimitiveValue  

Returns - PresentationInstanceFilterCondition

Defined in

Last Updated: 17 December, 2024