def has_ci

cswap-bend-cli@0.1.0.0 · daemon/config.bend:129

import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config
import Base

129def has_ci(+x: String, +xs: List<&2, String>) -> Bool:
130  match xs:
131    case Nil{}:
132      False{}
133    case Con{h, t}:
134      String.eq(String.to_lower(h), String.to_lower(x)) || has_ci(x, t)

Uses (6)

Used by (1)