I see source iterator, t.data[^1] can get it, But t.data is private
let L = len(t)
for h in 0 .. high(t.data):
if isFilled(t.data[h].hcode):
yield (t.data[h].key, t.data[h].val)
Run
Add this funtion maybe can use idx get key value
template getKeyVal(t, idx): untyped =
let len = len(t)
if idx >= 0 and idx < len:
result = (t.data[h].key, t.data[h].val)
else: ()
Run
