Say.tty.at: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/say.bend as Say Lines 94-97 of ezx@1.11.0.0/src/share/say.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/say.bend&start_line=94&end_line=97 import Base # a device path that is a terminal. A pipe and `/dev/null` are not. def tty.at(+path: String) -> Bool: Bool.or(String.starts_with(path, "/dev/pts/"), Bool.or(String.eq(path, "/dev/console"), String.starts_with(path, "/dev/tty"))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with