BIS fnc areEqualNotNil: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 15: | Line 15: | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code><nowiki>[</nowiki>[1, 2, [3, [4, 5]]], [1, 2, [3, [4, 5]]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{ | |x1= <code><nowiki>[</nowiki>[1, 2, [3, [4, 5]]], [1, 2, [3, [4, 5]]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{cc| true}}<nowiki>[</nowiki>[1, 2, [3, [4, [[nil]]]]], [1, 2, [3, [4, [[nil]]]]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{codecomment|// false}}</code> | ||
<nowiki>[</nowiki>[1, 2, [3, [4, [[nil]]]]], [1, 2, [3, [4, [[nil]]]]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{codecomment|// false}}</code> | |||
|x2= <code><nowiki>[</nowiki>[[nil]], [[nil]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{codecomment|// false}}</code> | |x2= <code><nowiki>[</nowiki>[[nil]], [[nil]]] [[call]] [[BIS_fnc_areEqualNotNil]]; {{codecomment|// false}}</code> |
Revision as of 16:30, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Variables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- anythings: Anything - nil values won't be considered equal
- Return Value:
- Return value needed
Examples
- Example 1:
[[1, 2, [3, [4, 5]]], [1, 2, [3, [4, 5]]]] call BIS_fnc_areEqualNotNil; // true[[1, 2, [3, [4, nil]]], [1, 2, [3, [4, nil]]]] call BIS_fnc_areEqualNotNil; // false
- Example 2:
[nil, nil] call BIS_fnc_areEqualNotNil; // false
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