TArray.Contains<T>(T[],T) Method

Determines whether the specified item exists as an element in an array.

Namespace: Spring
public
 class function Contains<T>(const values: array of T;
 const item: T): Boolean; static;

Type Parameters

T

Parameters

values
Type: array of T

item
Type: T

Return Value

Type: Boolean