isa
isa(X,s) returns true if X is of type s (where s is a string).
Examples
> isa(pi,'double') [ans:true]
> isa(pi,'cell') [ans:false]
> isa(true,'logical') [ans:true]
> isa(pi,'double') [ans:true]
> isa(pi,'cell') [ans:false]
> isa(true,'logical') [ans:true]