Skip to main content
ReadStream.prototype.isRaw - 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 tosetRawMode.

Type

boolean