DecompressionStream.writable

The writable read-only property of the DecompressionStream interface returns a WritableStream.

Value

A WritableStream.

Examples

The following example returns a WritableStream from a DecompressionStream.

let stream = new DecompressionStream('gzip');
console.log(stream.writeable); //a WritableStream
Specification Status Comment
Streams
The definition of 'writable' in that specification.
Living Standard Initial definition.

Browser compatibility

BCD tables only load in the browser