open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
7 lines (6 loc) • 358 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isStreaming = void 0;
const is_array_buffer_1 = require("@smithy/is-array-buffer");
const isStreaming = (body) => body !== undefined && typeof body !== "string" && !ArrayBuffer.isView(body) && !(0, is_array_buffer_1.isArrayBuffer)(body);
exports.isStreaming = isStreaming;