Difference between revisions of "Rawequal"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>
+
'''Class:''' [[(global)]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.</translate>
+
=== Description ===
<source lang="lua">
+
Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean.
 +
<syntaxhighlight lang="lua">
 
(bool) = rawequal(v1,v2)
 
(bool) = rawequal(v1,v2)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''v1''': (any) <translate>first value to compare</translate> <br/>
+
=== Parameters ===
'''v2''': (any) <translate>second value to compare</translate> <br/>
+
'''v1''': (any) first value to compare<br/>
=== <translate>Return values</translate> ===
+
'''v2''': (any) second value to compare<br/>
'''<translate>Returns</translate>''' (bool) <translate>true if values are equal, or false if different</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (bool) true if values are equal, or false if different<br/>
 +
 
 +
{{(global)}}

Latest revision as of 14:32, 13 July 2023

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