def before.cut

gralha-http-core@0.1.0.0 · http.bend:30

import gralha-http-core@0.1.0.0/http.bend as Http
import Base

30def before.cut(c: Maybe<&1, String & String>, whole: String) -> String:
31  match c:
32    case None{}:
33      whole
34    case Some{(a, b)}:
35      a

Uses (4)

Used by (1)