From 68bb901fe9951d5f793689da9470263efb6e63e4 Mon Sep 17 00:00:00 2001 From: Mykola Bilochub Date: Tue, 9 Apr 2019 18:46:59 +0300 Subject: [PATCH] doc: specify return type for tty.isatty() --- doc/api/tty.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/tty.md b/doc/api/tty.md index 5d15addf39bec4..dbebbb77735797 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -245,6 +245,7 @@ added: v0.5.8 --> * `fd` {number} A numeric file descriptor +* Returns: {boolean} The `tty.isatty()` method returns `true` if the given `fd` is associated with a TTY and `false` if it is not, including whenever `fd` is not a non-negative