-
Notifications
You must be signed in to change notification settings - Fork 1
ToValues
ricardoboss edited this page Sep 13, 2023
·
1 revision
The toValues
function returns the values of a map as a list.
toValues(map myMap)
-
myMap
is the map to get the values from.
- If
myMap
is empty, the function returns an empty list. - The order of the elements in the list is not guaranteed.
- Only the first level of the map is considered. Nested map values are not included in the list.
list values = toValues({"a": 1, "b": 2, "c": 3}) // returns [1, 2, 3]
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!