def tty.pick.go

ezx@1.11.0.0 · src/share/say.bend:106

import ezx@1.11.0.0/src/share/say.bend as Say
import Base

106# stderr's terminal when it is one, otherwise stdout's, otherwise none
107def tty.pick.go(on: Bool, +err: String, +out: String) -> String:
108  match on:
109    case True{}:
110      err
111    case False{}:
112      tty.out(tty.at(out), out)

Uses (4)

Used by (1)