public
Created

  • Download Gist
useArrayUtilsStatic.as
ActionScript
1 2 3 4 5
import org.devboy.ArrayUtils;
var is_c = function(x) { return x == "c"; }
ArrayUtils.delete_if( [ "a", "b", "c" ], is_c ); // returns [ "a", "b" ]

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.