SortedList.has

Returns whether the set has the given element. Intended for use with structs and classes that can interface with the type of T through the cmp and equal functions's overrides.

  1. bool has(E a)
  2. bool has(T a)
    struct SortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
    @nogc @safe nothrow pure const
    static if(!allowDuplicates)
    bool
    has
    (
    T
    )
    (
    const T a
    )

Meta