def first_part

cswap-bend-cli@0.1.0.0 · daemon/state.bend:139

import cswap-bend-cli@0.1.0.0/daemon/state.bend as State
import Base

139def first_part(+t: String) -> String:
140  Maybe.default(&2, String, List.head(&2, String, String.split(t, '.')), "")

Uses (5)

Used by (1)