BIS fnc validateParametersOO: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Validating the parameters of a certain method in a class. | |descr= Validating the parameters of a certain method in a class. | ||
|s1=[class,method,params] call [[BIS_fnc_validateParametersOO]] | |s1= [class,method,params] call [[BIS_fnc_validateParametersOO]] | ||
|p1= class: [[String]] - | |p1= class: [[String]] - class name | ||
|p2= method: [[String]] - | |p2= method: [[String]] - method used for validating (Taken from '''class >> "Methods"''') | ||
|p3= params: [[Array]] - | |p3= params: [[Array]] - to be validated parameters | ||
|r1= [[Boolean]] - | |r1= [[Boolean]] - validating flag | ||
|x1= < | |x1= <sqf>["someClass","someMethod",[5,47,"test"]] call BIS_fnc_validateParametersOO;</sqf> | ||
|seealso= [[BIS_fnc_addClassOO]] [[BIS_fnc_createObjectOO]] | |seealso= [[BIS_fnc_addClassOO]] [[BIS_fnc_createObjectOO]] | ||
}} | }} |
Latest revision as of 15:53, 8 November 2023
Description
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:
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