function isRetrieveMethodimport { isRetrieveMethod } from "https://deno.land/x/http_utils@1.0.0/method.ts"; isRetrieveMethod(method: string): method is RetrieveMethodWhether the method is RetrieveMethod or not. ExamplesExample 1 import { isRetrieveMethod } from "https://deno.land/x/http_utils@$VERSION/method.ts"; import { assert } from "https://deno.land/std@$VERSION/testing/asserts.ts"; assert(isRetrieveMethod("GET")); assert(isRetrieveMethod("HEAD")); assert(!isRetrieveMethod("POST")); Parametersmethod: stringAny method Returnsmethod is RetrieveMethod