Skip to content

__typeinfo__

builtin · libnexusinterp/nexus-value/ov-typeinfo-proprietary.cc

: typestr = __typeinfo__ (expr)
: cstr = __typeinfo__ ()

Return the interpreter storage type name for expr.

Finer than the user-visible class: distinguishes scalar vs matrix, dense vs sparse/diagonal, and double-quoted vs single-quoted string forms.

With no argument, returns a cell array of every registered type name. More than one argument is an error.