Skip to main content

tty?

function

babashka.terminal/tty?

(tty? [fd])
Returns true if the given file descriptor is associated with a terminal. fd should be :stdin, :stdout, or :stderr.

No examples yet. Be the first to add one!