Lock.is3: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 187-191 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=187&end_line=191 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # whether a table's path is these three segments def is3(+ss: List<&2, String>, first: String, second: String, third: String) -> Bool: Bool.and(Nat.is_eq(List.length(&2, String, ss), 3n), Bool.and(String.eq(K.word(ss, 0n), first), Bool.and(String.eq(K.word(ss, 1n), second), String.eq(K.word(ss, 2n), third)))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_eq 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/pkg/pkg.bend&name=word