import { Deno } from "https://deno.land/x/deno@v1.41.0/cli/tsc/dts/lib.deno.ns.d.ts";
const { FsFile } = Deno;
UNSTABLE: New API, yet to be vetted.
Checks if the file resource is a TTY (terminal).
// This example is system and context specific
using file = await Deno.open("/dev/tty6");
file.isTerminal(); // true