We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61dab4 commit 5ca5293Copy full SHA for 5ca5293
lib/util/isFormData.ts
@@ -16,3 +16,12 @@ export const isFormData = (value?: unknown): value is FormDataLike => Boolean(
16
&& isFunction((value as FormDataLike).entries)
17
&& isFunction((value as FormDataLike)[Symbol.iterator])
18
)
19
+
20
+/**
21
+ * Check if given object is FormData
22
+ *
23
+ * @param value an object to test
24
25
+ * @deprecated use `isFormData` instead.
26
+ */
27
+export const isFormDataLike = isFormData
0 commit comments