Cli.find_heading: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5376-5380 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5376&end_line=5380 import Base def find_heading(attrs: List<&2, Item>) -> String: match attrs: case Nil{}: "" case Heading{title} <> tail: title case head <> tail: find_heading(tail) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item