Functions
| Function | Description |
|---|---|
create(m, k) | New empty filter |
fromHex(hex, m, k) | Restore from hex |
add(filter, item) | Add item (mutates) |
contains(filter, item) | Check membership |
toHex(filter) | Serialize to hex |
isEmpty(filter) | Check if empty |
Probabilistic log membership testing
| Function | Description |
|---|---|
create(m, k) | New empty filter |
fromHex(hex, m, k) | Restore from hex |
add(filter, item) | Add item (mutates) |
contains(filter, item) | Check membership |
toHex(filter) | Serialize to hex |
isEmpty(filter) | Check if empty |