MCPcopy Create free account
hub / github.com/Effect-TS/effect / isHttpMethod

Function isHttpMethod

packages/effect/src/unstable/http/HttpMethod.ts:121–121  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

119 * @since 4.0.0
120 */
121export const isHttpMethod = (u: unknown): u is HttpMethod => all.has(u as HttpMethod)

Callers

nothing calls this directly

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected