Array.contains

struct Array(E, Ordering ordering = Ordering.unsorted, bool useGC = shouldAddGCRange!E, alias less = "a < b")
const nothrow @nogc
static if(IsOrdered!ordering)
@"complexity", "O(log(length))"
bool
contains
(
U
)
()

Return Value

Type: bool

true iff this contains value.

Meta