public
Created

  • Download Gist
dynamicArray.as
ActionScript
1 2 3 4 5 6 7
function array_delete_if( array: Array<Dynamic>, processor: Dynamic-> Bool ):Array<Dynamic>
{
for ( item in array )
if ( processor(item) )
array.remove( item );
return array;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.