def trig.pc

cswap-bend-cli@0.1.0.0 · policy/pick.bend:54

import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pick
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

54def trig.pc(+t: T.Trigger) -> Bool:
55  match t:
56    case T.Proactive{}:
57      True{}
58    case T.ConsumeFirstT{}:
59      True{}
60    case o:
61      False{}

Uses (2)

Used by (1)