BIS fnc errorParamsType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2") |
||
Line 21: | Line 21: | ||
* "isEqualTypeParams" | * "isEqualTypeParams" | ||
|p3= '''expected''' (Optional, default: [[nil]]): [[Anything]] - | |p3= '''expected''' (Optional, default: [[nil]]): [[Anything]] - expected type. | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Latest revision as of 15:06, 8 November 2023
Description
- Description:
- Displays a parameter type error message (using BIS_fnc_error) explaining the problem.
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [value, method, expected] call BIS_fnc_errorParamsType
- Parameters:
- value: Anything - (Optional, default nil) value received.
- method: String - (Optional, default "") validation method, can be one of:
- "isEqualType"
- "isEqualTypeArray"
- "isEqualTypeAll"
- "isEqualTypeAny"
- "isEqualTypeParams"
- expected (Optional, default: nil): Anything - expected type.
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
- Example 5:
Additional Information
- See also:
- BIS_fnc_error
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