def bend.is

ezx@1.11.0.0 · src/tool/run.bend:299

import ezx@1.11.0.0/src/tool/run.bend as Run
import Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/run/bend.bend as Bend

299# the bend on the PATH, as its banner's first line. A bend that does not
300# answer is "", and its build fails on its own.
301def bend.is() -> IO(String):
302  do IO<String>:
303    +out : String <- Bend.version()
304    return Bool.pick(String, R.ok(out), line0(String.lines(String.trim(R.text(out)))), "")

Uses (11)

Used by (2)