array_contains

Description

Method array_contains:Int (
     arr:Object,
     obj:Object
)

Check if an array contains a specific value. Will be slow for large arrays.

Description

Parameters

arr

The array to scan.

obj

The object to search for.

Return Values

True if obj was found, false if not.