Files
node/doc/api
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-09-08 06:34:47 +03:00
2017-09-08 06:34:47 +03:00
2017-10-20 15:08:38 +03:00
2017-10-22 14:06:56 +02:00
2017-10-20 18:22:15 +03:00
2017-10-15 08:22:36 +08:00
2017-09-12 17:34:51 +02:00
2017-10-14 12:37:33 +08:00
2017-10-19 12:51:42 +03:00
2016-04-20 16:34:27 -07:00
2017-10-15 15:52:42 -07:00
2016-12-20 12:31:09 -08:00
2017-10-22 16:51:10 -07:00