Difference between revisions of "Rawequal"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[(global)]]<br/> |
− | ''' | ||
− | === | + | === Description === |
− | + | Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean. | |
<source lang="lua"> | <source lang="lua"> | ||
(bool) = rawequal(v1,v2) | (bool) = rawequal(v1,v2) | ||
</source> | </source> | ||
− | === | + | === Parameters === |
− | '''v1''': (any) | + | '''v1''': (any) first value to compare<br/> |
− | '''v2''': (any) | + | '''v2''': (any) second value to compare<br/> |
− | === | + | === Return values === |
− | ''' | + | '''Returns''' (bool) true if values are equal, or false if different<br/> |
{{(global)}} | {{(global)}} |
Revision as of 22:21, 13 May 2022
Available since: Gideros 2011.6
Class: (global)
Description
Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.
(bool) = rawequal(v1,v2)
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