Stream Is Writable

# Introduction In this lab, we will explore how to check if a given argument is a writable stream in JavaScript. We will use a function that checks if the value is different from `null`, if it has a `pipe` property of type `function`, and if it also has `_write` and `_writableState` properties of type `function` and `object` respectively. Through this lab, we will gain a better understanding of how to work with streams in JavaScript.

|
60 : 00

Click the virtual machine below to start practicing