TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

Type ( any obj ) -> type

Description

Returns the type of 'obj'. If 'obj' is extended, i.e., it is a record with a 'base' component, then the type of the base component is returned. If 'obj' is a record with a 'type' component 'obj.type' is returned.

Examples

Type(3);
Type(true);
Type(2/3);
Type(Sequence([1.2,2]));

Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group