TransformStream: writable プロパティ
writable
は TransformStream
インターフェイスの読み取り専用プロパティで、この TransformStream
が制御する WritableStream
インスタンスを返します。
値
WritableStream
です。
例
次の例は、新しい TransformStream
を textEncoderStream
として作成し、 writable
の値をコンソールに出力します。
js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.writable); // a WritableStream
仕様書
Specification |
---|
Streams # ref-for-ts-writable② |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
writable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.