contains

Returns $(D_KEYWORD true) if the array contains the given pattern.

bool
contains
(
T
)
(
T[] arr
,)

Parameters

arr T[]

the array to check if it contains the element

pattern T[]

the pattern whose presence in the array is to be tested

Return Value

Type: bool

$(D_KEYWORD true) if the array contains the given pattern

Meta