phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
SSOHybridHashSet.contains
nxt
sso_open_hashset
SSOHybridHashSet
Check if
element
is stored.
struct
SSOHybridHashSet
(K, alias hasher = hashOf, alias Allocator = Mallocator.instance)
@
safe
const @
trusted
bool
contains
(
const
scope
K
key
)
if
(
isNullable
!
K
)
Return Value
Type:
bool
true
if element is present,
false
otherwise.
Meta
Source
See Implementation
nxt
sso_open_hashset
SSOHybridHashSet
aliases
InsertionStatus
destructors
~this
functions
contains
insert
remove
postblits
this(this)
properties
binCount
capacity
length
static functions
withCapacity
Check if element is stored.