Packageorg.spicefactory.lib.util
Classpublic class ArrayUtil
InheritanceArrayUtil Inheritance Object

Static utility methods for Arrays.



Public Methods
 MethodDefined By
  
remove(arr:Array, element:*):Boolean
[static] Removes the specified instance from the Array.
ArrayUtil
Method Detail
remove()method
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