def codings.ok
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4260# An effect on empty input fails with ENOENT only when its library does not load.
4261def codings.ok(r: Result<&1, &1, U32 & String, Bytes.Bytes>) -> Bool:
4262 match r:
4263 case Fail{(+c, why)}:
4264 Bool.not(U32.is_eq(c, 2))
4265 case Done{p}:
4266 True{}