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

Function isFormData

packages/effect/src/http/HttpServerRequest.ts:1106–1106  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

1104 typeof ReadableStream !== "undefined" && u instanceof ReadableStream
1105
1106const isFormData = (u: unknown): u is FormData => typeof FormData !== "undefined" && u instanceof FormData
1107
1108const isBodyInit = (u: unknown): u is BodyInit =>
1109 typeof u === "string" ||

Callers 2

getFormDataBodyFunction · 0.85
isBodyInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected