Skip to main content
Version: 1.x

Interface: PropertyMatcher

A property matcher with an explicit comparison operator.

Remarks

When a selector property value is a PropertyMatcher object instead of a plain primitive, the operator field controls how the comparison is made.

Example

const selector: UI5Selector = {
controlType: 'sap.m.Input',
properties: {
value: { value: 'partial', operator: 'contains' },
},
};

Properties

operator?

readonly optional operator: "endsWith" | "startsWith" | "equals" | "contains" | "regex"

Comparison operator. Defaults to 'equals' when omitted.


value

readonly value: string | number | boolean

The value to compare against.