Lua 中的基本类型

Lua中有8个基本类型分别为

nil boolean number string userdata function thread table

函数 type 可以测试给定变量或者值的类型。

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License