doc: specify return type for tty.isatty() · nodejs/node@643a2fa (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 643a2fa
authored and
committed
doc: specify return type for tty.isatty()
PR-URL: #27154Reviewed-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
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -245,6 +245,7 @@ added: v0.5.8 | ||
245 | 245 | --> |
246 | 246 | |
247 | 247 | * `fd` {number} A numeric file descriptor |
248 | +* Returns: {boolean} | |
248 | 249 | |
249 | 250 | The `tty.isatty()` method returns `true` if the given `fd` is associated with |
250 | 251 | a TTY and `false` if it is not, including whenever `fd` is not a non-negative |