is not a | |||||||
Type | operator | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | is not an | ||||||
Summary | Evaluates to true if a value is not of the specified type, false otherwise. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Keyword: point, integer Operator: is a Function: value, time Glossary: evaluate, operator, validate | ||||||
Description | Use the is not a operator to validate data to make sure it's not the wrong type. 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:
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. | ||||||
Tags | math |