def verb.ok

bend-kit-redis@0.3.0.0 · redis.bend:433

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

433def verb.ok(ok: Bool, +n: U32, +next: U32, stack: List<&1, Frame>, b: Bytes.Bytes) -> Bytes.Bytes & St:
434  match ok:
435    case True{}:
436      verb.fmt(n, next, stack, Bytes.slice(b, next, 3))
437    case False{}:
438      (b, SBad{})

Uses (10)

Used by (1)