Determining if a node stream is in objectMode <p>Given a node js stream object how do I determine if it is an object stream in objectMode? </p> <p>Say I have a readable stream instance</p> <pre><code> const myReadableStream = new ReadableStreamImplementation({ options: { objectMode : true } }); </code></pre> <p>How can I determine that the myReadableStream is in objectMode. Is there a method or property that can be read? Could not find the answer from skimming through node streams documentation.</p> <p><strong>EDIT</strong> Is there a way to tell without tapping into the stream and given only the stream object itself?</p>