def agg.nil

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

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

522# *-1 is RESP2's null array.
523def agg.nil(nil: Bool, +kind: U32, +n: U32, +next: U32, stack: List<&1, Frame>) -> St:
524  match nil:
525    case True{}:
526      null.st(U32.is_eq(kind, 0), next, stack)
527    case False{}:
528      agg.bad(U32.is_eq(n, 4294967294), kind, n, next, stack)

Uses (8)

Used by (1)