isNumber | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Operator: is a Function: value, exists Glossary: operation, operator, validate, return, error Control Structure: function | ||||||
Description | Use the isNumber function to determine whether a value is a number. For example, attempting to do an arithmetic operation on a value that's not a number causes an error. You can check the value beforehand to prevent this. This function exists for compatibility with imported SuperCard projects. You can use the is a operator to validate numbers, as well as other data types. | ||||||
Tags | math |