blob: e25e365319126d4e55f35998395c69767d4484b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
This can be done using built-in functions:
- tostring
- toboolean
- tonumber
the `type` function returns the type of its argument:
- string
- boolean
- number
- array
- object
- null
|