Private
Readonly
hashPrivate
Readonly
kPrivate
Readonly
mPrivate
nPrivate
valueReturns the false positive rate of the bloom filter = (1 - e^(-kn/m))^k
.
Returns the approximate number of elements in the bloom filter.
Adds an entry to the set. Returns MaybePromise<unknown>
to be compatible with ES Set.
Generated using TypeDoc
A simple bloom filter implementation.