def tz.event.select

bend-kit-time@0.3.0.0 · time.bend:1080

import bend-kit-time@0.3.0.0/time.bend as Time
import Base
import bend-kit-int@0.2.0.0/int.bend as Int

1080def tz.event.select(newer: Bool, old: Maybe<&2, TzEvent>, when: Int.I64, dst: Bool) -> Maybe<&2, TzEvent>:
1081  match newer:
1082    case True{}:
1083      Some{TzEvent{when, dst}}
1084    case False{}:
1085      old

Uses (4)

Used by (1)