tests parts of expr at level level.
represents an operator form of NoneTrue that can be applied to an expression.
- NoneTrue[list,test] and NoneTrue[expr,test,level] only evaluate as many test[ei] as are necessary to determine the result.
- NoneTrue[list,test] is equivalent to NoneTrue[list,test,1].
- NoneTrue[test][list] is equivalent to NoneTrue[list,test].
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)
Properties & Relations (4)
Introduced in 2014
Updated in 2015