def cookie.live.at

bend-kit-http@0.38.2.0 · http.bend:1830

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-time@0.3.0.0/time.bend as Time

1830def cookie.live.at(+now: Time.Instant, e: Maybe<&2, Time.Instant>) -> Bool:
1831  match e:
1832    case None{}:
1833      True{}
1834    case Some{t}:
1835      Cmp.is_lt(Time.Instant.cmp(now, t))

Uses (5)

Used by (1)