Scan.closed_by: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/json/scan.bend as Scan Lines 48-50 of cswap-bend-cli@0.1.0.0/json/scan.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/json/scan.bend&start_line=48&end_line=50 import Base import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex # Is the last token of t the closer `k`? def closed_by(+t: List<&2, Lex.Tok>, k: U32) -> Bool: U32.is_eq(last.kind(List.last(&2, Lex.Tok, t)), k) 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=List.last https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json/lex.bend&name=Tok https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json/scan.bend&name=last.kind