function isAdminLevel
isAdminLevel(s: string): s is AdminLevel

Type guard: check if a string is a valid AdminLevel

Parameters

s: string

Return Type

Usage

import { isAdminLevel } from "doc.ts";