Skip to content

Keys

Status: Stable

documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

Description

Keys[assoc]
    Gives a list of the keys of an association (or rules).

Examples

All examples below are verified against the current Mathilda build.

In[1]:= Keys[<|"a" -> 1, "b" -> 2|>]
Out[1]= {"a", "b"}

Implementation notes

Attributes: Protected.

Implementation status

Stable — documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

References