Function isatty

  • The tty.isatty() method 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.

    Since

    v0.5.8

    Parameters

    • fd: number

      A numeric file descriptor

    Returns boolean

  • The tty.isatty() method 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.

    Since

    v0.5.8

    Parameters

    • fd: number

      A numeric file descriptor

    Returns boolean

Generated using TypeDoc