TextDecoderStream.readable

The readable read-only property of the TextDecoderStream interface returns a ReadableStream.

Syntax

var readable = TextDecoderStream.readable;

Value

A ReadableStream.

Examples

This example shows how to return a ReadableStream from a TextDecoderStream.

stream = new TextDecoderStream();
console.log(stream.readable); //a ReadableStream

Specifications

Specification
Streams Standard (Streams)
# dom-generictransformstream-readable

Browser compatibility

BCD tables only load in the browser