Static utility methods for Arrays.
public static function contains(arr:Array, element:*):BooleanDeprecated: Please Use Array.indexOf
Parameters
Returns public static function indexOf(arr:Array, element:*):intDeprecated: Please Use Array.indexOf
Parameters
Returns public static function lastIndexOf(arr:Array, element:*):intDeprecated: Please Use Array.lastIndexOf
Parameters
Returns public static function remove(arr:Array, element:*):Boolean
Removes the specified instance from the Array.
Parameters
| arr:Array — the Array to remove the element from
|
| |
| element:* — the element to remove
|
Returns | Boolean — true if the Array contained the specified element
|
Sat Apr 2 2011, 11:49 PM +01:00