Skip to main content

Map Operations

Keys, values, and member access that tolerates a missing key

FunctionWhat it does
getA member of a map or array, or nil when it is absent — unlike a.b, which fails
keysThe keys of a map, in no particular order
valuesThe values of a map, in the same order as keys() returns its keys