def wire.ok.of
import emerging-ezhttp@0.21.0.0/src/wirespec.bend as Wirespecimport Base
155# whether a status is success (0)
156def wire.ok.of(m: Maybe<&2, U32>) -> Bool:
157 match m:
158 case None{}:
159 False{}
160 case Some{n}:
161 U32.is_eq(n, 0)