"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPermission = isPermission;
const constants_1 = require("./_internal/constants");
/**
 * Validate a Permission
 * @param permission
 * @returns
 */
function isPermission(maybePermission) {
    return constants_1.ValidPermissions.includes(maybePermission);
}
//# sourceMappingURL=isPermission.js.map