isEqualTypeAll: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
No edit summary |
||
Line 41: | Line 41: | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on November 25, 2015 - 17:55 (UTC)</dd> | |||
<dt class="note">[[User:Commy2|Commy2]]</dt> | |||
<dd class="note"> | |||
This command will return false if the array on the left side is empty ([]) regardless of the sample value.<br> | |||
<code>[] isEqualTypeAll "" | |||
-> false | |||
</code><br> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 18:55, 25 November 2015
Description
- Description:
- Compares types of all elements of an array to the type of a single value.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_arr = [1,2,3,4,5,6,7,8,9,0]; _arr isEqualTypeAll ""; //false _arr isEqualTypeAll 0; //true
Additional Information
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
[[Category:Introduced with arma3dev version 1.53]][[ Category: arma3dev: New Scripting Commands | ISEQUALTYPEALL]][[ Category: arma3dev: Scripting Commands | ISEQUALTYPEALL]]
Notes
Bottom Section
- Posted on November 25, 2015 - 17:55 (UTC)
- Commy2
-
This command will return false if the array on the left side is empty ([]) regardless of the sample value.
[] isEqualTypeAll "" -> false