string.string.is_number
Declaration
lua
string.is_number(text)
Description
Check if string is a valid number (integer or float).
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | Required | — |
Return Values
| Type | Description |
|---|---|
| boolean |