MissingQ
Examples
open all close allBasic Examples (1)
Test whether an expression has head Missing:
MissingQ[5]MissingQ[Missing["NotAvailable"]]Properties & Relations (2)
Selecting values for which MissingQ gives False is equivalent to DeleteMissing:
x = {1, 2, 3, Missing[], 4, 5, 6};Select[x, MissingQ[#] == False&]DeleteMissing[x]Keys not present in an association will return Missing["KeyAbsent",…]:
assoc = <|a -> 1, b -> 2|>assoc[c]Use MissingQ to detect such results:
MissingQ[assoc[c]]See Also
Related Guides
History
Text
Wolfram Research (2015), MissingQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingQ.html.
CMS
Wolfram Language. 2015. "MissingQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MissingQ.html.
APA
Wolfram Language. (2015). MissingQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingQ.html
BibTeX
@misc{reference.wolfram_2026_missingq, author="Wolfram Research", title="{MissingQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/MissingQ.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_missingq, organization={Wolfram Research}, title={MissingQ}, year={2015}, url={https://reference.wolfram.com/language/ref/MissingQ.html}, note=[Accessed: 12-June-2026]}