File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ export * from "./FormDataLike"
2
2
export * from "./FileLike"
3
3
export * from "./Encoder"
4
4
5
- export { default as isFile } from "./util/isFile"
6
- export { default as isFormData } from "./util/isFormData"
5
+ export { default as isFileLike } from "./util/isFile"
6
+ export { default as isFormDataLike } from "./util/isFormData"
Original file line number Diff line number Diff line change @@ -237,3 +237,15 @@ Creates an async iterator allowing to perform the encoding by portions.
237
237
##### ` [Symbol.asyncIterator]() -> {AsyncGenerator<Uint8Array, void, undefined>} `
238
238
239
239
An alias for ` Encoder#encode() ` method.
240
+
241
+ ### ` isFileLike(value) -> {boolean} `
242
+
243
+ Check if given value is a File-ish object.
244
+
245
+ - ** {unknown}** value - a value to test
246
+
247
+ ### ` isFormDataLike(value) -> {boolean} `
248
+
249
+ Check if is a FormData-ish object.
250
+
251
+ - ** {unknown}** value - a value to test
You can’t perform that action at this time.
0 commit comments