const HasPermission = (per, permissions) => {
  return permissions?.includes(per);
};

export default HasPermission;
