def unit

bend-kit-commands@0.4.0.0 · commands.bend:104

import bend-kit-commands@0.4.0.0/commands.bend as Commands
import Base

104def unit(-A: Type, r: Result<&1, &1, U32 & String, A>) -> Result<&1, &1, U32 & String, Unit>:
105  match r:
106    case Fail{e}:
107      Fail{e}
108    case Done{x}:
109      Done{Unit{}}

Uses (5)

Used by (1)