Value set
Syntax
$dict.values()
Description
Returns the list of values of a dictionary. The list can contain duplicate values, unlike key sets, since the same value can be assigned to multiple keys.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
dict | Business object | A dictionary whose values are to be returned. | yes |
Return value
Type: Set
A list containing all values of the dictionary dict
.
Examples
Simple dictionary
{
dict = {
"all": "alle",
"some": "manche",
"none": "keine"
};
$dict.values();
}
Output: A list containing the values ["all", "some", "none"].