Cli.has_pos_item: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1718-1723 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1718&end_line=1723 import Base def has_pos_item(items: List<&2, LintItem>) -> Bool: match items: case Nil{}: False{} case LintArg{usage, help, attrs, parsed} <> tail: Bool.or(usage_kind(~kind_pos, parsed), has_pos_item(tail)) case head <> tail: has_pos_item(tail) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=LintItem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=kind_pos https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=usage_kind