filter_array

MudOSa4DGD/doc/efun/arrays/filter_array · 494 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	filter_array - returns the filtered array based on calls

SYNOPSIS
	varargs mixed *filter_array(mixed *arr, string fun, mixed ob, 
					mixed args...)


DESCRIPTION
	The function will call ob->fun(arr[i], args), for each element in
	array arr. For each of these calls returning a non-zero value, the
	returning array will contain the respective array element. Thus it
	will serve the purpose of filtering arr through the function fun in
	object ob.

SEE ALSO
	efun/arrays/, efun/strings/

Site Stats

Snippets: 1791
Codebases: 571