BIS fnc validateParametersOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1= OO| Validating the parameters of a certain method in a class.|s1=[class,method,params] call [[BIS_fnc_validateParametersOO]]


|p1= class: [[String]] - Class name|p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''')|p3= params: [[Array]] - To be validated parameters| [[Boolean]] - Validating flag|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code>
|game1= arma3
|version1= 1.00
 
|gr1= OO
 
|descr= Validating the parameters of a certain method in a class.
 
|s1=[class,method,params] call [[BIS_fnc_validateParametersOO]]
 
|p1= class: [[String]] - Class name
 
|p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''')
 
|p3= params: [[Array]] - To be validated parameters
 
|r1= [[Boolean]] - Validating flag
 
|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code>
 
|seealso= [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]]
|seealso= [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]]
}}
}}

Revision as of 05:31, 13 June 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