SIZE
SIZE:
arg: { arg } # required
Description
The SIZE operation returns the number of elements in a given collection. It returns a Number representing the size of the collection.
Parameters
arg(Operation<List|Set>, required):- The collection whose size you want to determine.
- This should be an operation that resolves to a
ListorSet.
Return Type
Examples
-
Checking if a security group has more than 5 rules:
GREATER_THAN:
left:
SIZE:
arg:
FIELD:
path: CA10__securityGroupRules__r # This is a related list
right:
NUMBER: 5