Returns all values of a Map in a Bag and all values of an OrderedMap in a List.
values() | |||
---|---|---|---|
Argument | |||
Return value | Object | Value for the key. |
Formula | Result |
---|---|
Map {Pair{1,2},Pair{3,4},Pair{7,4}}.values() | Bag {2,4,4} |
This functionality is only available for certain module packages.