@serenity-is/corelib / isPropertyConditionMet
Function: isPropertyConditionMet()
isPropertyConditionMet(
condition,value):boolean
Defined in: src/ui/widgets/propertyconditions.ts:34
Gets whether the value of a field meets a condition: it has one of the values of the condition, compared as text,
or a list value has one of them as an item, or, without values, it has a value at all, see hasPropertyValue.
The result is the opposite for a condition with isNot.
Parameters
condition
The condition.
value
any
The value of the field the condition is on.
Returns
boolean