def has_hyphen

cli@0.2.0.0 · cli.bend:2881

import cli@0.2.0.0/cli.bend as Cli
import Base

2881def has_hyphen(items: List<&2, Item>) -> Bool:
2882  match items:
2883    case Nil{}: False{}
2884    case Hyphen{} <> tail: True{}
2885    case head <> tail: has_hyphen(tail)

Uses (3)

Used by (2)