Qurak

Keys

Available

Returns the keys of an association (optionally wrapping each with a head)

Keys[<| key1 -> val1, key2 -> val2, … |>]
Keys[{key1 -> val1, key2 -> val2, …}]
Keys[expr, h]
myHash = <|"Green" -> 2, "Red" -> 1|>; Keys[myHash] → {Green, Red}

Topics

Related

All 6300 functions · Use this from an MCP client