(value: any)
| 490 | typeof value.blob === "function"; |
| 491 | |
| 492 | export const isFileLike = (value: any): value is FileLike => |
| 493 | value != null && |
| 494 | typeof value === "object" && |
| 495 | typeof value.name === "string" && |
| 496 | typeof value.lastModified === "number" && |
| 497 | isBlobLike(value); |
| 498 | |
| 499 | /** |
| 500 | * The BlobLike type omits arrayBuffer() because @types/node-fetch@^2.6.4 lacks it; but this check |
no test coverage detected
searching dependent graphs…