Skip to content

@serenity-is/corelib / hasPropertyValue

Function: hasPropertyValue()

hasPropertyValue(value): boolean

Defined in: src/ui/widgets/propertyconditions.ts:8

Gets whether a value is one, as a condition without values checks it: it is not null, an empty string, an empty list or false, so a checkbox has a value while it is checked.

Parameters

value

any

The value of a field.

Returns

boolean