FUNCTION REFERENCE

isa

True if a value belongs to a class.

True if a value belongs to a class.

Syntax

isa(A, CLASSNAME)

CLASSNAME is a class name such as 'double' or 'int8', or a category: 'numeric', 'float' or 'integer'.

Example

tf = isa(int8(1), 'integer')

Differences from MATLAB: user-defined classes do not exist in MatRust.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.