Files
node/doc/api
Bryan English e1cff102f4 tty,doc: add type-check to isatty
Previously, various inputs other than non-negative integers would
produce incorrect results.

Added type-checking on input, returning false for anything other than
non-negative integers.

Also clarified in docs.

PR-URL: https://github.com/nodejs/node/pull/15567
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2017-10-23 17:35:51 -04:00
..
2017-09-12 03:18:36 +02:00
2017-09-12 03:18:36 +02:00
2017-10-23 17:21:13 -04:00
2017-10-23 17:21:13 -04:00
2017-10-17 23:33:42 -07:00
2017-09-12 15:19:21 +02:00
2017-10-17 23:32:14 -07:00
2017-10-23 17:18:17 -04:00
2017-09-25 11:21:04 -07:00
2016-04-20 16:34:27 -07:00
2017-10-17 23:34:43 -07:00
2017-10-11 02:05:37 -04:00
2016-12-20 12:31:09 -08:00
2017-10-23 17:35:51 -04:00