function isSafeMethodimport { isSafeMethod } from "https://deno.land/x/http_utils@2.0.0-beta.1/method.ts"; isSafeMethod(method: string): method is SafeMethodWhether the method is SafeMethod or not. ExamplesExample 1 import { isSafeMethod } from "https://deno.land/x/http_utils@$VERSION/method.ts"; import { assert } from "https://deno.land/std/testing/asserts.ts"; assert(isSafeMethod("GET")); assert(isSafeMethod("HEAD")); assert(isSafeMethod("OPTIONS")); assert(isSafeMethod("TRACE")); Parametersmethod: stringReturnsmethod is SafeMethod