(ct: string | null | undefined)
| 252 | }; |
| 253 | |
| 254 | const isTextContentType = (ct: string | null | undefined): boolean => |
| 255 | normalizeContentType(ct).startsWith("text/"); |
| 256 | |
| 257 | const isOctetStream = (ct: string | null | undefined): boolean => |
| 258 | normalizeContentType(ct) === "application/octet-stream"; |
no test coverage detected