function isIdempotentMethodimport { isIdempotentMethod } from "https://deno.land/x/http_utils@1.0.0-beta.8/mod.ts"; isIdempotentMethod(method: string): method is IdempotentMethodWhether the method is IdempotentMethod or not. ExamplesExample 1 import { isIdempotentMethod } from "https://deno.land/x/http_utils@$VERSION/mod.ts"; import { assert } from "https://deno.land/std@$VERSION/testing/asserts.ts"; assert(isIdempotentMethod("GET")); assert(isIdempotentMethod("PUT")); assert(isIdempotentMethod("DELETE")); Parametersmethod: stringReturnsmethod is IdempotentMethod