Next Previous Contents

84. typeof

Synopsis

Get the data type of an object.

Usage

DataType_Type typeof (x)

Description

This function returns the data type of x.

Example

  if (Integer_Type == typeof (x)) print ("x is an integer");
See Also

array_info, _slang_guess_type, typecast


Next Previous Contents