

AnyTrue
Examples
open all close allBasic Examples (4)
Check if any element of a list satisfies a condition:
Check if any element of a matrix satisfies a condition:
Check if any value of an association satisfies a condition:
A symbolic result may be returned:
TrueQ may be used to avoid getting a symbolic result:
Scope (3)
Properties & Relations (4)
Text
Wolfram Research (2014), AnyTrue, Wolfram Language function, https://reference.wolfram.com/language/ref/AnyTrue.html (updated 2015).
CMS
Wolfram Language. 2014. "AnyTrue." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/AnyTrue.html.
APA
Wolfram Language. (2014). AnyTrue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnyTrue.html
BibTeX
@misc{reference.wolfram_2025_anytrue, author="Wolfram Research", title="{AnyTrue}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AnyTrue.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_anytrue, organization={Wolfram Research}, title={AnyTrue}, year={2015}, url={https://reference.wolfram.com/language/ref/AnyTrue.html}, note=[Accessed: 13-August-2025]}