mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 01:26:23 +00:00
* Setup TailwindCSS * Fully setup configuration * Refactor some tailwind variables
5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
export const isPermission = (perms?: number, bitflag?: number) => {
|
|
if (!perms || !bitflag) return false;
|
|
return (perms & bitflag) === bitflag;
|
|
};
|