isNotEqualTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.02
|version= 2.01


|gr1= Variables
|gr1= Variables


|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= |Multiplayer Behaviour=
|pr= |Problems=


|s1= val1 [[isNotEqualTo]] val2
|s1= val1 [[isNotEqualTo]] val2
Line 20: 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]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>

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