isEqualType

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.54
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.54

Description

Description:
Compares 2 values by their type. A much faster alternative to typeName a == typeName b.

Syntax

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

Examples

Example 1:
_var = [1,2,3]; _var isEqualType 0; //false _var isEqualType []; //true

Additional Information

Multiplayer:
-
See also:
isEqualTypeAllisEqualTypeArrayisEqualTypeAnyisEqualTypeParamsparamparamsisEqualTotypeName

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section