Array.Contains

Parent Previous Next

Array.Contains.

Returns true if an item is in the array. Otherwise it returns false.


Syntax.


 Contains(Type item) : Boolean

 


Arguments:


Example:


 Integer arr[] := [0, 1, 2];

 Boolean found := arr[].Contains(9); //Now found == False;