.\"modify an mapping .TH filter_mapping 3 "5 Sep 1994" MudOS "LPC Library Functions" .SH NAME filter_mapping() - remove some elements of a mapping based on a function .SH SYNOPSIS .nf mapping filter_mapping( mapping map, string fun, object ob, mixed extra, ... ); mapping map_mapping( mapping map, function f, mixed extra, ... ); .SH DESCRIPTION Returns an mapping with the same keys as map whose items have been mapped throught 'ob->fun()' or 'f'. The function is called for each element in 'arr' and the return value is put back in that spot in 'arr'. 'extra' and following are passed as parameters to the function after the item. .SH SEE ALSO filter_array(3), sort_array(3), map(3)