tm_values Function β
tm_values takes a map and returns a list containing the values of the elements in that map.
The values are returned in lexicographical order by their corresponding keys, so the values will be returned in the same order as their keys would be returned from tm_keys.
Examples β
sh
tm_values({a=3, c=2, d=1})
[
3,
2,
1,
]Related Functions β
tm_keysreturns a list of the keys from a map.