stream_isatty
reactphp/event-loop
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Check if a stream is a TTY
<?php stream_isatty
(
resource $stream
):
bool