Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
function array_delete_if( array: Array<Dynamic>, processor: Dynamic-> Bool ):Array<Dynamic>
for ( item in array )
if ( processor(item) )
array.remove( item );
return array;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment