isatty method

bool isatty(
  1. num fd
)

Returns true if the given fd is associated with a TTY and false if it is not, including whenever fd is not a non-negative integer.

Implementation

external bool isatty(num fd);