"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=function(r,e){return Array.isArray(e)&&e.length?e:Array.isArray(r)&&r.length?r:[]};exports.checkIsUserAdmin=function(e){var n,o,s;return!!e&&(!(null===(n=e.role)||void 0===n||!n.toLowerCase().includes("admin"))||r(null!==(o=e.group)&&void 0!==o?o:[],null!==(s=e.groups)&&void 0!==s?s:[]).some((function(r){return r.name.toLowerCase().includes("admin")})))},exports.getUserGroups=r;
//# sourceMappingURL=checkIsUserAdmin.js.map
