doc: specify return type for tty.isatty()

PR-URL: https://github.com/nodejs/node/pull/27154
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This commit is contained in:
Mykola Bilochub 2019-04-09 18:46:59 +03:00 committed by Vse Mozhet Byt
parent d1413305e0
commit 643a2fa447

View File

@ -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