Key quantity
Syntax
$dict.keySet()
Description
Returns the key set of a dictionary. The set does not contain duplicate keys, since keys must be unique and therefore appear only once in the dictionary.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
dict | Business object | A dictionary whose keys are to be returned. | yes |
Return value
Type: Set
A set containing all keys of the dictionary dict
.
Examples
Simple dictionary
{
dict = {
"all": "alle",
"some": "manche",
"none": "keine"
};
$dict.keySet();
}
Output: A set with the values ["all", "some", "none"].