Functions Index :: A :: ArrayContains

[<< up one level]

Module:

array :: properties

Definition:

ArrayContains(string array, val value)

Description:

Returns true if array contains at least one element with value value, false otherwise.

Examples:

ar = ArrayCreate(4, 3, 2, 12, 3, 5)

b1 = ar.ArrayContains(4) # b1 == true

b2 = ar.ArrayContains(3) # b2 == true

b3 = ar.ArrayContains(7) # b3 == false

 

[<< top]