github.com/arnodel/golua@v0.0.0-20230215163904-e0b5347eaaa1/lib/base/lua/rawequal.lua (about) 1 print(rawequal(1, 1)) 2 --> =true 3 4 print(rawequal(1, 2)) 5 --> =false 6 7 local t = {} 8 print(rawequal(t, t)) 9 --> =true 10 11 print(rawequal("abc", "abc")) 12 --> =true 13 14 print(rawequal(1.0, 1)) 15 --> =true 16 17 print(rawequal(nil, nil)) 18 --> =true 19 20 print(pcall(rawequal)) 21 --> ~^false\t 22 23 print(pcall(rawequal, 1)) 24 --> ~^false\t