
domtype - determining types

Calling sequence:
domtype(expr)

Parameter:

expr   --  expression

Overloading:

1

Summary:

domtype returns the domain  to which expr belongs, i.e. the type of the
argument. The pre-defined basic types and their significance are listed in the
table ??In contrast to most other functions, arguments which are expression
sequences, are not flattened. domtype is a kernel function.

>>  domtype(2.345434345);

     DOM_FLOAT

>>  domtype(x - y);

     DOM_EXPR

>>  domtype((a:=5));

      DOM_INT

>>  a:=3,4: domtype(a);

      DOM_EXPR

See also:  testtype , type

