tests parts of expr at level level.
Examplesopen allclose all
Basic Examples (4)
Check if no element of a list satisfies a condition:
Check if no element of a matrix satisfies a condition:
Check if no value of an association satisfies a condition:
A symbolic result may be returned:
Even when the condition applied to some elements is symbolic, a definitive result may be deduced:
TrueQ may be used to avoid getting a symbolic result:
Generalizations & Extensions (1)
NoneTrue[list,f] works efficiently on sparse vectors:
Properties & Relations (4)
Compose the predicate with TrueQ to make the predicate stronger:
NoneTrue[list,f] is equivalent to AllTrue[list,Composition[Not,f]]:
NoneTrue[list,f] is equivalent to VectorQ[list,Composition[Not,f]] when f evaluates to True or False:
NoneTrue[list,test] checks the parts of list in order, stopping as soon as test returns True:
Wolfram Research (2014), NoneTrue, Wolfram Language function, https://reference.wolfram.com/language/ref/NoneTrue.html (updated 2015).
Wolfram Language. 2014. "NoneTrue." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/NoneTrue.html.
Wolfram Language. (2014). NoneTrue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NoneTrue.html