def code.at
import bolt@1.27.0.0/src/codes.bend as Codesimport Base
71# the stable code; the slug itself when it is not a rule
72def code.at(mm: Maybe<&2, Entry>, +slug: String) -> String:
73 match mm:
74 case None{}:
75 slug
76 case Some{Entry{_s, +id, _grp}}:
77 id