KeyExistsQ
KeyExistsQ[assoc,key]
returns True if the specified key exists in the association assoc, and False otherwise.
KeyExistsQ[key]
represents an operator form of KeyExistsQ that can be applied to an expression.
Details
- KeyExistsQ can be applied not only to Association objects, but also to lists of rules.
- KeyExistsQ[key][expr] is equivalent to KeyExistsQ[expr,key].
Examples
Wolfram Research (2014), KeyExistsQ, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyExistsQ.html.
Text
Wolfram Research (2014), KeyExistsQ, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyExistsQ.html.
CMS
Wolfram Language. 2014. "KeyExistsQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyExistsQ.html.
APA
Wolfram Language. (2014). KeyExistsQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyExistsQ.html