Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/utils
filters
Filter
Interface Filter
interface
Filter
{
add
(
item
)
:
void
;
has
(
item
)
:
boolean
;
remove
?
(
buf
)
:
boolean
;
}
Implemented by
BloomFilter
CuckooFilter
ScalableCuckooFilter
Index
Methods
add
has
remove?
Methods
add
add
(
item
)
:
void
Parameters
item
:
string
|
Uint8Array
Returns
void
has
has
(
item
)
:
boolean
Parameters
item
:
string
|
Uint8Array
Returns
boolean
Optional
remove
remove
(
buf
)
:
boolean
Parameters
buf
:
string
|
Uint8Array
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
add
has
remove
libp2p
Loading...