def punct.obj.if

emerging-ezjson@1.3.0.0 · src/pull.bend:460

import emerging-ezjson@1.3.0.0/src/pull.bend as Pull
import Base

460# `{`, once it is known whether a value may start
461def punct.obj.if(stack: List<&2, Frame>, goal: Goal, ok: Bool) -> St:
462  match ok:
463    case True{}:
464      punct.obj.go(FObj{SKey{}, True{}} <> stack, goal)
465    case False{}:
466      err.st(goal)

Uses (8)

Used by (1)