Difference between revisions of "Rawequal"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.
+
<translate>Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(bool) = rawequal(v1,v2)
 
(bool) = rawequal(v1,v2)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''v1''': (any) first value to compare <br/>
+
'''v1''': (any) <translate>first value to compare</translate> <br/>
'''v2''': (any) second value to compare <br/>
+
'''v2''': (any) <translate>second value to compare</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (bool) true if values are equal, or false if different<br/>
+
'''Returns''' (bool) <translate>true if values are equal, or false if different</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

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