Skip to content
KoCity (Modding)
GitHubDiscord

Permissions

Usage

import permissions from 'permissions';

Functions

/**
 * Check if a certain permission is granted.
 *
 * @param value The permission name.
 *
 * @returns Wheather the the permission is granted or not.
 */
function hasPermission(
  value: ModPermission
): boolean;