KeyFreeQ
Examples
Basic Examples (4)
Test whether "foo" is a key in the association:
Test whether the association contains a string key:
KeyFreeQ works with lists of rules:
Determine which of the associations does not contain the key:
See Also
Related Guides
History
Text
Wolfram Research (2015), KeyFreeQ, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyFreeQ.html.
CMS
Wolfram Language. 2015. "KeyFreeQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyFreeQ.html.
APA
Wolfram Language. (2015). KeyFreeQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyFreeQ.html
BibTeX
@misc{reference.wolfram_2025_keyfreeq, author="Wolfram Research", title="{KeyFreeQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/KeyFreeQ.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_keyfreeq, organization={Wolfram Research}, title={KeyFreeQ}, year={2015}, url={https://reference.wolfram.com/language/ref/KeyFreeQ.html}, note=[Accessed: 18-August-2025]}