Files
node/lib
Bryan English 27e12e7524 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-22 16:51:10 -07:00
..
2017-10-22 13:31:22 -04:00
2017-08-25 11:29:33 -07:00
2017-10-09 11:40:13 +02:00
2017-10-19 13:54:14 -04:00
2017-08-28 00:39:42 +04:00
2017-10-21 09:49:02 -04:00
2017-10-19 13:54:14 -04:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-10-18 11:59:11 -07:00
2017-10-01 23:58:59 -03:00
2017-10-22 16:51:10 -07:00
2017-10-04 03:51:44 -04:00
2017-06-28 20:00:42 +02:00
2017-10-02 12:36:52 -07:00