List.contains

Returns true if the specified element is contained within the list.

interface List(T)
bool
contains
@nogc
()

Parameters

elem
Type: T

element whose presence in this list must be tested

Return Value

Type: bool

true if this list contains the specified element

Meta