跳转到主要内容

别名

  • isluaclosure

参数

function
必填
Function to test.

返回值

boolean
true when the function is a Lua closure; otherwise false.

示例

Check whether a function is an L closure.