Difference between revisions of "Rawequal"
From GiderosMobile
Line 3: | Line 3: | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.</translate> | <translate>Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.</translate> | ||
Line 8: | Line 9: | ||
(bool) = rawequal(v1,v2) | (bool) = rawequal(v1,v2) | ||
</source> | </source> | ||
+ | |||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''v1''': (any) <translate>first value to compare</translate> <br/> | '''v1''': (any) <translate>first value to compare</translate> <br/> | ||
'''v2''': (any) <translate>second value to compare</translate> <br/> | '''v2''': (any) <translate>second value to compare</translate> <br/> | ||
+ | |||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (bool) <translate>true if values are equal, or false if different</translate><br/> | '''<translate>Returns</translate>''' (bool) <translate>true if values are equal, or false if different</translate><br/> | ||
+ | |||
+ | {{(global)}} |
Revision as of 04:25, 11 February 2020
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