$expr.size()
The number of elements in the set/list expr or the number of assignments in the dictionary expr.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| expr | Businss object/set | An expression whose size is to be measured. Can be a list, set or even a dictionary. | yes |
Type: Number
The number of elements of the given set/list expr or the number of mappings in the dictionary. expr.
[1, 2, 3].size()
Output: 3
{
dict = {
"all": "alle",
"some": "manche",
"none": "keine"
};
$dict.size()
}
Output: 3