def role.of

bolt@1.27.0.0 · src/role.bend:149

import bolt@1.27.0.0/src/role.bend as Role
import Base

149# a file's role: its role by name, or else its role on the laws' side
150def role.of(+named: Role, reach: Role) -> Role:
151  Bool.pick(Role, is_law_file(named), named, reach)

Uses (3)

Used by (2)