BIS fnc validateParametersOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
Line 14: Line 14:
|p2= method: [[String]] - method used for validating (Taken from '''class >> "Methods"''')
|p2= method: [[String]] - method used for validating (Taken from '''class >> "Methods"''')


|p3= params: [[Array]] - To be validated parameters
|p3= params: [[Array]] - to be validated parameters


|r1= [[Boolean]] - Validating flag
|r1= [[Boolean]] - Validating flag

Revision as of 16:50, 8 November 2023

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_addClassOO BIS_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