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 (1)

Every input below was run against the current Mathilda build and its output recorded.

Basic examples (1)

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

Implementation notes

Attributes: Protected.

References