Luna::UnorderedMap::contains

bool contains(const key_type &key) const

Checks whether at least one element with the specified key exists.

Parameters

  • in key

    The key of the element to check.

Return value

Returns ture if at least one element with the specified key exists. Returns false otherwise.