Skip to main content
ReadStream.prototype.isRaw - tty - Node documentation
property ReadStream.prototype.isRaw

Usage in Deno

import { ReadStream } from "node:tty";

A boolean that is true if the TTY is currently configured to operate as a raw device.

This flag is always false when a process starts, even if the terminal is operating in raw mode. Its value will change with subsequent calls to setRawMode.

Type

boolean