Top
Back: type
Forward: univariate
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.146 typeof

Syntax:
typeof ( expression )
Type:
string
Purpose:
returns the type of an expression as string.

Returns the type of the first list element if the expression is an expression list.

Possible types are: "ideal", "int", "intmat", "intvec", "list", "map", "matrix", "module", "number", "none", "poly", "proc", "qring", "resolution", "ring", "string", "vector".

For internal use only is the type "?unknown type?".

Example:
 
See Data types; type.

Top Back: type Forward: univariate FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.