mustBeNonNan
- : mustBeNonNan
(x)¶ Error unless no element of x is NaN (numeric, logical or char x; Inf passes; empty passes).
Intended as a validation function for
inputParserand similar checks; it returns nothing and raises an error describing the offending elements when the check fails.