Pike v8.0 release 1738

Method ADT.Set()->filter()


Method filter

this_program filter(function(:void) f)

Description

Return a filtered version of the set, containing only those members for which the filtering function f returned true.

The filtering function is called with a single mixed-type argument which is the member value to be checked.