| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
ADT
ADT.Set

# Method ADT.Set()->filter_destructively()

Method filter_destructively

  `this_program filter_destructively(function f)`

Description

  Destructively filter the set, i.e. remove every element for which the filtering function f returns 0, and then return the set.

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