Skip to content

Commit 643a2fa

Browse files
belochubvsemozhetbyt
authored andcommitted
doc: specify return type for tty.isatty()
PR-URL: #27154 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
1 parent d141330 commit 643a2fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/tty.md

+1
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ added: v0.5.8
245245
-->
246246

247247
* `fd` {number} A numeric file descriptor
248+
* Returns: {boolean}
248249

249250
The `tty.isatty()` method returns `true` if the given `fd` is associated with
250251
a TTY and `false` if it is not, including whenever `fd` is not a non-negative

0 commit comments

Comments
 (0)