isEqualTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.16|= Game version ________________...")
 
No edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Performs strict comparison between var1 and var2 and returns true if equal otherwise false. |= Description
| Performs strict comparison between var1 and var2 and returns [[true]] if equal otherwise [[false]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Operators]], [[in]], [[find]], [[set]], [[resize]], [[switch]] |= See also


}}
}}

Revision as of 14:47, 26 March 2014

Hover & click on the images for description

Description

Description:
Performs strict comparison between var1 and var2 and returns true if equal otherwise false.
Groups:
Uncategorised

Syntax

Syntax:
var1 isEqualTo var2
Parameters:
var1: Anything
var2: Anything
Return Value:
Boolean

Examples

Example 1:
_arr1 = [1,[2,[3]]]; _arr2 = [1,[2,[3]]]; if (_arr1 isEqualTo _arr2) then {hint "Arrays match!"}

Additional Information

See also:
Operatorsinfindsetresizeswitch

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section