Skip to main content

values

Retrieves all the values in a map as a list

values(targetMap)

Parameters#

  • targetMap: A map whose values are needed

Returns#

  • list of map values

Example#

print(values({orders: 10, shipments: 2}))# prints, [10, 2]