Wilang Documentation1.0.0+4

typeOf#

Get the type of a variable.

Available in: math cells, REPL.

Syntax#

typeOf(x)

Arguments and behavior#

Returns the internal type name as text, such as string, DenseMatrix or Unit. These are engine type names, not the friendly labels shown on a result chip.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
typeOf(3.5)

Expected result: "number".

See also#

getMatrixDataType

All functions · Math guides