BIS fnc validateParametersOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: OO(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = OO |GROUP1=
|gr1 = OO |GROUP1=
____________________________________________________________________________________________


| Validating the parameters of a certain method in a class. |Description=
| Validating the parameters of a certain method in a class. |Description=
____________________________________________________________________________________________


| [class,method,params] call [[BIS_fnc_validateParametersOO]] |Syntax=
| [class,method,params] call [[BIS_fnc_validateParametersOO]] |Syntax=
Line 21: Line 18:


| [[Boolean]] - Validating flag |Return value=
| [[Boolean]] - Validating flag |Return value=
____________________________________________________________________________________________


|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code>|Example 1=
|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code>|Example 1=


____________________________________________________________________________________________


| [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also=
| [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also=

Revision as of 01:05, 17 January 2021

Hover & click on the images for description

Description

Description:
Validating the parameters of a certain method in a class.
Execution:
call
Groups:
OO

Syntax

Syntax:
[class,method,params] call BIS_fnc_validateParametersOO
Parameters:
class: String - Class name
method: String - Method used for validating (Taken from class >> "Methods")
params: Array - To be validated parameters
Return Value:
Boolean - Validating flag

Examples

Example 1:
["someClass","someMethod",[5,47,"test"]] call BIS_fnc_validateParametersOO;

Additional Information

See also:
BIS_fnc_addClassOOBIS_fnc_createObjectOO

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

Notes

Bottom Section