MCPcopy Create free account
hub / github.com/angular/dev-infra / isFormDataLike

Function isFormDataLike

github-actions/saucelabs/set-saucelabs-env.js:1509–1511  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1507 );
1508 }
1509 function isFormDataLike(object) {
1510 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";
1511 }
1512 function addAbortListener(signal, listener) {
1513 if ("addEventListener" in signal) {
1514 signal.addEventListener("abort", listener, { once: true });

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected