collections-d v0.4.5 (2021-09-21T18:03:52Z)
Dub
Repo
SortedList.has
collections
sortedlist
SortedList
Returns whether the set has the given element.
struct
SortedList
(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
@
nogc
@
safe
nothrow pure
static if
(
!allowDuplicates
)
bool
has
(
E
a
)
Meta
Source
See Implementation
collections
sortedlist
SortedList
aliases
opDollar
constructors
this
functions
has
hasRange
moveAt
moveFront
opBinary
opBinaryRight
opIndex
opOpAssign
opSlice
popBack
popFront
put
remove
removeByElem
sliceByElem
toString
which
properties
arrayOf
back
empty
front
length
reserve
save
Returns whether the set has the given element.