def base.of

bend-lint-pack@0.1.1.0 · common.bend:174

import bend-lint-pack@0.1.1.0/common.bend as Common
import Base

174def base.of(parts: List<&2, String>, name: String) -> String:
175  match parts:
176    case Con{h, t}:
177      h
178    case Nil{}:
179      name

Uses (2)

Used by (1)