isNotEqualTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:


|descr= Performs strict comparison between var1 and var2 and returns [[false]] if equal, otherwise true.
|descr= Performs strict comparison between var1 and var2 and returns [[false]] if equal, otherwise true.
|mp=
|pr=


|s1= val1 [[isNotEqualTo]] val2
|s1= val1 [[isNotEqualTo]] val2
Line 19: Line 15:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>_true = 0 [[isNotEqualTo]] 1;</code>
|x1= <sqf>private _true = 0 isNotEqualTo 1;</sqf>


|seealso= [[isEqualTo]]
|seealso= [[isEqualTo]] [[isNotEqualRef]]
}}
}}

Latest revision as of 13:25, 2 September 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
val1 isNotEqualTo val2
Parameters:
val1: Anything
val2: Anything
Return Value:
Boolean

Examples

Example 1:
private _true = 0 isNotEqualTo 1;

Additional Information

See also:
isEqualTo isNotEqualRef

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