{"name":"isUniformAllowed","title":"isUniformAllowed","type":"command","url":"https://community.bistudio.com/wiki/isUniformAllowed","revid":319160,"updated":"2022-05-13T09:23:17Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"1.22"},"since":"arma3 1.22","arma3_since":"1.22","locality":{"argument":"global"},"description":"Check whether given uniform can be dressed by target soldier.","syntaxes":[{"syntax":"unit isUniformAllowed type","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"type","type":"String","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"binary","left":{"text":"unit"},"right":{"text":"type"}}],"examples":[{"code":["_canUse = _unit isUniformAllowed \"U_B_CombatUniform_mcam\";"]}],"see_also":["addUniform","forceAddUniform","removeUniform","uniform"]}