Contains

Top  Previous  Next

$d=randbetween(1,20,15)

 

contains($d,5)

 

The contains command searches a data parameter for the indicated value and returns true if the value is found. In this example, we have created a random list of 15 numbers between 1 and 20. Contains($d,5) will return true if this list contains a 5.