You've already forked AstralRinth
forked from didirus/AstralRinth
Move files in preparation for monorepo migration
This commit is contained in:
4
apps/knossos/utils/permissions.ts
Normal file
4
apps/knossos/utils/permissions.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const isPermission = (perms?: number, bitflag?: number) => {
|
||||
if (!perms || !bitflag) return false
|
||||
return (perms & bitflag) === bitflag
|
||||
}
|
||||
Reference in New Issue
Block a user