BTree.contains

Search the B-Tree for a key.

struct BTree(K, V, alias less = "a < b", bool allowDuplicates = false, bool duplicateKeyIsUB = false)
nothrow @nogc const
bool
contains
(
K key
)

Parameters

key K

Key to search for.

Return Value

Type: bool

true if key` is contained in the tree.

Meta