function isTokenimport { isToken } from "https://deno.land/x/http_utils@2.0.0-beta.1/token.ts"; isToken(input: string): input is TokenWhether the input is token or not. ExamplesExample 1 import { isToken } from "https://deno.land/x/http_utils@$VERSION/token.ts"; import { assert, assertFalse, } from "https://deno.land/std/testing/asserts.ts"; assert(isToken("token")); assert(isToken("*!~")); assertFalse(isToken("")); Parametersinput: stringReturnsinput is Token