Type Function Library (globals) Return value Boolean Revision Release 2024.3703 Keywords rawequal, rawget, rawset, tables, values See also rawset(), rawget()
Performs an equality (==
) check between two values without invoking a metamethod. Returns a Boolean.
rawequal( value1, value2 )
local val1 = 5 local val2 = 5 print( rawequal( val1, val2) ) -- true