From 181b03273c4c9282d8176953d68713e37b50294b Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 3 Feb 2019 06:05:30 +0300 Subject: Add isTTY function (#1622) --- tests/is_tty.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/is_tty.ts (limited to 'tests/is_tty.ts') diff --git a/tests/is_tty.ts b/tests/is_tty.ts new file mode 100644 index 000000000..a571aee18 --- /dev/null +++ b/tests/is_tty.ts @@ -0,0 +1,2 @@ +import { isTTY } from "deno"; +console.log(isTTY().stdin); -- cgit v1.2.3