List.Contains Method

Determines whether an element is in the List.

Syntax

Result :=   List.Contains(Value: T)

Parameters

List
 Type: List
An instance of the List data type.

Value
 Type: T
The value to locate in the List.

Return Value

Result
 Type: Boolean
true if the List contains the value, otherwise false.

See Also

List Data Type
Getting Started with AL
Developing Extensions