function isSafeMethodimport { isSafeMethod } from "https://deno.land/x/http_utils@1.0.0-beta.10/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/mod.ts"; import { assert } from "https://deno.land/std@$VERSION/testing/asserts.ts"; assert(isSafeMethod("GET")); assert(isSafeMethod("HEAD")); assert(isSafeMethod("OPTIONS")); assert(isSafeMethod("TRACE")); Parametersmethod: stringReturnsmethod is SafeMethod