IndexMixin.contains

Reports whether value exists in this collection Complexity: O(n) (O(n 1) on a good day)

  1. bool containsValue(ValueView value)
  2. bool contains(KeyType k)
    mixin template IndexMixin(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
    bool
    contains
    const
    (
    KeyType k
    )

Meta