HashTable.has: def of bend-collections-laws-math@1.0.0.0
Import: import bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend as HashTable
Lines 493-495 of bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&start_line=493&end_line=495
import Base
def has(a, -V: Kind(a), m: HashMap, key: String) -> HashMap & Bool:
HM{+n, +mask, +td, +fresh, +sz, +sd, +free, tab, ks, vs, nx} = m
has_f(a, V, n, mask, td, fresh, sz, sd, free, vs, nx, probe(tab, ks, mask, key))
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=Pair
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String
https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=HashMap
https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=has_f
https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=probe