Pike v8.1 release 6

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.