Error getting tags :
error 404Error getting tags :
error 404 is not a | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
is not a
Expander triangle
value is not a[n] {boolean | integer | number | point | rect| date | color}
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
None required
Evaluates to true if a value is not of the specified type, false otherwise.

22 is not a number -- evaluates to false
CJ22 is not a number -- evaluates to true

Additional Comments
Expander triangle

Use the is not a operator to validate data to make sure it's not the wrong type.


The value is any source of value.


This operator is useful for checking whether the user has entered data correctly, and for checking parameters before sending them to a handler to avoid a script error caused by feeding data of one type to an operator or function that requires a different type.

A value is a:

* boolean or logical if it is one of the two constants true or false

integer if it consists of digits (with an optional minus sign)

* number if it consists of digits, optional leading minus sign, optional decimal point, and optional "E" or "e" (scientific notation)

* point if it consists of two numbers separated by a comma

* rect if it consists of four numbers separated by commas

* date if it is in one of the formats produced by the date or time functions

* color if it is a valid color reference

All the types other than boolean can also include leading or trailing white space characters.

The is not a operator is the logical inverse of the is a operator. When one is true, the other is false.

User Comments
Expander triangle