blob: fc3149c48840a331d08434afe09cdbb93e602223 [file] [log] [blame]
SYNOPSIS
mixed * map_objects(object *arr, string fun, mixed extra, ...)
mixed * map_objects(lwobject *arr, string fun, mixed extra, ...)
mixed * map_objects(string *arr, string fun, mixed extra, ...)
DESCRIPTION
Similar to map(), but calls arr[n]->fun(extra,...). The returned value
replaces the object/string in returned array.
<arr> may contain a mixture of regular and lightweight objects and
object names as well.
Any number of extra arguments is allowed, which are all
passed. 0-entries in arr are ignored.
SEE ALSO
map(E), filter(E), filter_objects(E)