| previous next |
| IsNumber |
| Syntax |
IsNumber(E:OBJECT):BOOL |
| Summary |
checks if the argument is a number |
| Description |
This function returns TRUE if E has type INT, RAT, or ZMOD. Otherwise, it returns FALSE. |
| Example |
Use R ::= Q[x,y]; IsNumber(x+y); FALSE ------------------------------- IsNumber(3); TRUE ------------------------------- IsNumber(3%5); TRUE ------------------------------- |