def group.at

bolt@1.27.0.0 · src/codes.bend:83

import bolt@1.27.0.0/src/codes.bend as Codes
import Base

83# the group; empty when the slug is not a rule
84def group.at(mm: Maybe<&2, Entry>) -> String:
85  match mm:
86    case None{}:
87      ""
88    case Some{Entry{_s, _id, +grp}}:
89      grp

Uses (3)

Used by (1)