Keys
Keys[key1val1,key2val2,…]
gives a list of the keys keyi in an association.
Keys[{key1val1,key2val2,…}]
gives a list of the keyi in a list of rules.
Keys[expr,h]
gives a list of keys in expr, wrapping each of them with head h before evaluation.
Examples
open allclose allBasic Examples (4)
Properties & Relations (3)
Keys are listed in the order of their appearance:
Keys automatically threads over lists, but not associations:
Keys returns time stamps for a TimeSeries input:
Text
Wolfram Research (2014), Keys, Wolfram Language function, https://reference.wolfram.com/language/ref/Keys.html (updated 2019).
CMS
Wolfram Language. 2014. "Keys." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/Keys.html.
APA
Wolfram Language. (2014). Keys. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Keys.html