Method code for $list.mfilter()

[Turn on line numbering]
arg list, method, @args;
var x;

// similar to .mmap, but returns a list of objects which returned a
// true value from 'method.
return filter x in (list) where (x.(method)(@args));

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark