def cookie.date.colon

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

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

2011def cookie.date.colon(s: String) -> Maybe<&2, String>:
2012  match s:
2013    case SNil{}:
2014      None{}
2015    case SCon{Chr{58}, t}:
2016      Some{t}
2017    case SCon{Chr{c}, t}:
2018      None{}

Uses (7)

Used by (2)