def again.keep

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

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

1583def again.keep(close: Bool, x: Bytes.Bytes) -> Maybe<&1, Bytes.Bytes>:
1584  match close:
1585    case True{}:
1586      None{}
1587    case False{}:
1588      Some{x}

Uses (3)

Used by (1)