def in_group

bolt@1.27.0.0 · src/syntax/tree.bend:361

import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import Base

361# is the innermost frame an open group?
362def in_group(stack: List<&2, Frame>) -> Bool:
363  match stack:
364    case Con{FGroup{open, kids}, rest}:
365      True{}
366    case other:
367      False{}

Uses (3)

Used by (2)