<<notEmpty>>

The <<notEmpty...>> function allows you to check whether or not an object collection has any objects or if it is empty. If the collection contains no objects, this function will return false. If the collection contains at least one object this function will return true. This function is only valid when an object collection property is in scope for the step definition in which it is used.

Arguments

<<notEmpty objectCollectionArg>>
objectCollectionArg
This argument is a data tag representing an object collection. This collection must be defined. It is evaluated by the function for members.

Parameters

None