Qurak

Keys

可用

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}

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用