Get the data type of an object
DataType_Type _typeof (x)
This function is similar to the typeof function except in the
case of arrays. If the object x is an array, then the data
type of the array will be returned. otherwise _typeof returns
the data type of x.
if (Integer_Type == _typeof (x))
message ("x is an integer or an integer array");
- slangrtl
-
__class_id,
__class_type,
__eqs,
__get_reference,
__is_initialized,
__pop_args,
__push_args,
_nargs,
_reshape,
_slang_guess_type,
array_info,
array_map,
atof,
double,
dup,
get_struct_field,
int,
integer,
is_defined,
is_struct_type,
length,
reshape,
set_struct_field,
string,
transpose,
typecast,
typeof,
where
|