type

Syntax

type(X)

Arguments

X can be any data type that the system supports.

Details

Return an integer indicating the data type of X. Please refer to Data Types for details.

Examples

x=3;
x;
// output
3

type(x);
// output
4
// INT

type(1.2);
// output
16
// DOUBLE

type("Hello");
// output
18
// STRING