Files
node/lib
Bryan English ae5930bbe4 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-11-28 13:10:43 +09:00
..
2015-10-08 17:32:08 -07:00
2017-09-05 12:49:49 -04:00
2017-10-25 04:09:42 -04:00
2017-09-05 12:49:49 -04:00
2016-12-20 14:42:45 -05:00
2017-09-05 12:49:50 -04:00
2017-03-08 17:11:23 -08:00
2016-10-11 12:31:51 -04:00
2017-10-25 04:09:42 -04:00
2017-11-28 13:10:35 +09:00
2017-09-05 12:49:49 -04:00
2017-11-28 13:10:43 +09:00
2017-09-05 12:49:49 -04:00
2017-03-08 17:10:34 -08:00