index Zimbu documentation

MODULE T @public

summary

     

The T module contains the builtin types and type information.

isInt(x) bool @public  Returns whether x is any kind of integer.
isNat(x) bool @public  Returns whether x is any kind of natural number.
isFloat(x) bool @public  Returns whether x is any kind of floating point number.
isNumber(x) bool @public  Returns whether x is any kind of number.
 

members (alphabetically)

     

FUNC isFloat(dyn x) bool @public

     

Returns whether x is any kind of floating point number.

The result is TRUE for float, float32, float90 and float128

FUNC isInt(dyn x) bool @public

     

Returns whether x is any kind of integer.

The result is TRUE for int, int8, int16 and int32

FUNC isNat(dyn x) bool @public

     

Returns whether x is any kind of natural number.

The result is TRUE for nat, nat8, nat16 and nat32

FUNC isNumber(dyn x) bool @public

     

Returns whether x is any kind of number.

The result is TRUE for any kind of int, nat, fixed and float.