我有一个返回两个值的函数。有没有办法检查 if 条件中的第二个值?
local function a() return 1 , true end if a()[2] == true then print("yes") end
lua
lua ×1