Manifest.tool.has: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest Lines 484-490 of ezx@1.11.0.0/src/ledger/manifest.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&start_line=484&end_line=490 import Base # whether the ledger pins a CLI of this name def tool.has(ts: List<&2, Tool>, +name: String) -> Bool: match ts: case []: False{} case +h <> t: tool.step(String.eq(tool.name(h), name), _u => tool.has(t, name)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Tool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=tool.name https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=tool.step