Rawequal

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: (global)

Description

Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean. <syntaxhighlight lang="lua"> (bool) = rawequal(v1,v2) </source>

Parameters

v1: (any) first value to compare
v2: (any) second value to compare

Return values

Returns (bool) true if values are equal, or false if different