1 2 3 4 5 6 7 8 9 10 11
--- name: "sys/interactive?" module: "system" section: "Session Information" --- Test if stdin is a TTY (i.e., running interactively). ```sema (sys/interactive?) ; => #t in REPL, #f in scripts ```