{"name":"BIS_fnc_returnChildren","title":"BIS fnc returnChildren","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_returnChildren","revid":376418,"updated":"2025-10-11T23:07:20Z","groups":["Configs"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Returns all subclasses within given class.","syntaxes":[{"syntax":"[config, depth, lastTier] call BIS_fnc_returnChildren","params":[{"name":"config","type":"Config","description":"class which is searched","type_expr":"Config"},{"name":"depth","type":"Number","optional":true,"default":"0","description":"depth, (0 = return only subclasses, 1 = return subclasses of subclasses, and so on...","type_expr":"Number","text":"depth: Number - (Optional, default 0) depth, (0 = return only subclasses, 1 = return subclasses of subclasses, and so on..."},{"name":"allTiers","type":"Boolean","optional":true,"default":"true","description":"false to return only the last one, true to return all","type_expr":"Boolean","text":"allTiers: Boolean - (Optional, default true) false to return only the last one, true to return all"}],"returns":{"type":"Array","type_expr":"Array","description":"of Configs"}}],"examples":[{"code":["[configFile >> \"CfgFunctions\", 2] call BIS_fnc_returnChildren; // returns config paths of all functions"]}],"see_also":["BIS_fnc_returnParents","configClasses"]}