Navigation

Operators and Keywords

Function List:

C++ API

: isa (obj, classname)

Return true if obj is an object from the class classname.

classname may also be one of the following class categories:

"float"

Floating point value comprising classes "double" and "single".

"integer"

Integer value comprising classes (u)int8, (u)int16, (u)int32, (u)int64.

"numeric"

Numeric value comprising either a floating point or integer value.

If classname is a cell array of string, a logical array of the same size is returned, containing true for each class to which obj belongs to.

See also: class, typeinfo.

Package: octave