MCPcopy Index your code
hub / github.com/angular/angular / isFormData

Function isFormData

packages/common/http/src/request.ts:53–55  ·  view source on GitHub ↗

* Safely assert whether the given value is a FormData instance. * * In some execution environments FormData is not defined.

(value: any)

Source from the content-addressed store, hash-verified

51 * In some execution environments FormData is not defined.
52 */
53function isFormData(value: any): value is FormData {
54 return typeof FormData !== 'undefined' && value instanceof FormData;
55}
56
57/**
58 * Safely assert whether the given value is a URLSearchParams instance.

Callers 2

serializeBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…