isEqualTypeParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - " " to " ")
Line 28: Line 28:
|[[isEqualTypeAll]], [[isEqualTypeAny]], [[isEqualType]], [[isEqualTypeArray]], [[param]], [[params]], [[isEqualTo]], [[typeName]]
|[[isEqualTypeAll]], [[isEqualTypeAny]], [[isEqualType]], [[isEqualTypeArray]], [[param]], [[params]], [[isEqualTo]], [[typeName]]
}}
}}





Revision as of 20:57, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Variables

Syntax

Syntax:
Syntax needed
Parameters:
input: Anything - could be value of any type, but only type Array will be validated
template: Array - array of expected types
Return Value:
Return value needed

Examples

Example 1:
[1,2,player,"10"] isEqualTypeParams [0,0,objNull,""]; //true 123 isEqualTypeParams [0,0,objNull,""]; //false [] isEqualTypeParams [0,0,objNull,""]; //false [1,2,player] isEqualTypeParams [0,0,objNull,""]; //false [1,2,player,"10",true] isEqualTypeParams [0,0,nil,""]; //true [1,2,getPos player,"10",true] isEqualTypeParams [0,0,nil,""]; //true

Additional Information

See also:
See also needed

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