Operators

isn't a

Supported By

Syntax

expression isn't a type

Description

The isn't a operator evaluates to true if the given value cannot be converted to the given type. If the given value can be converted to the given type, the isn't a operator evaluates to false.

Note

In HyperTalk, you can only use isn't a to test if some value is not an integer, a number, a date, a point, or a rectangle. However, the test for a date will reject just about any string to the point of being nearly useless, and the tests for point and rectangle are broken: if the value is not a comma-delimited list of integers, the expression will trigger an "Expected integer here" script error instead of evaluating to true. XION will always consider something not a date if it cannot actually be converted to one, and will never trigger a script error when evaluating the isn't a operator.

Synonyms

are not, aren't, is not a, is not an, isn't an

See Also

is a, is precisely a, is not precisely a, as a