def new.of

ezx@1.11.0.0 · src/ws/relock.bend:207

import ezx@1.11.0.0/src/ws/relock.bend as Relock
import Base

207# the ledger's text the command leaves, "" when it leaves none, which only a
208# command that refuses does
209def new.of(led: Maybe<&2, String>) -> String:
210  match led:
211    case None{}:
212      ""
213    case Some{text}:
214      text

Uses (2)

Used by (1)