MCPcopy Index your code
hub / github.com/nodejs/node / isFormDataLike

Function isFormDataLike

deps/undici/undici.js:1987–1989  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1985 }
1986 __name(ReadableStreamFrom, "ReadableStreamFrom");
1987 function isFormDataLike(object) {
1988 return object && typeof object === "object" && typeof object.append === "function" && typeof object.delete === "function" && typeof object.get === "function" && typeof object.getAll === "function" && typeof object.has === "function" && typeof object.set === "function" && object[Symbol.toStringTag] === "FormData";
1989 }
1990 __name(isFormDataLike, "isFormDataLike");
1991 function addAbortListener(signal, listener) {
1992 if (!signal || "aborted" in signal) {

Callers 2

wrapRequestBodyFunction · 0.70
constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…