MongoosePeople. Places. Questionable inventions.

All help topics · Link to this topic

Showing help on 'mapkeys()'

Syntax: mapkeys (MAP map)

Returns the keys of the elements of map.

x = ["foo" -> 1, "bar" -> 2, "baz" -> 3];
mapkeys(x) => {"bar", "baz", "foo"}