Qurak

Keys

Disponible

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}

Temas

Relacionadas

Las 6300 funciones · Usar esto desde un cliente MCP