pcall可以返回被调用函数的值而不是布尔结果的真/假吗?
例如
function f() return 'some text' end print(tostring(pcall(f)))
print将仅显示true或false,而不是f返回的值
lua
lua ×1