def pick_r

near-architecture@0.9.1.0 · arc.bend:422

import near-architecture@0.9.1.0/arc.bend as Arc
import Base

422def pick_r(hit: Bool, r: NodeRole, other: NodeRole) -> NodeRole:
423  match hit:
424    case True{}:
425      r
426    case False{}:
427      other

Uses (2)

Used by (1)