isa
- :
tf =isa(obj, classname)¶ Return true when obj is of class classname.
classname must be a text scalar: a character row vector or a string scalar. The result is a scalar logical.
The category names
"float","integer"and"numeric"match floating-point types, integer types, and both families together (logical values are not numeric). Objects also belong to every class they inherit from.