sift-values ( assoc -- assoc' )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping combinators

Prev:sift-keys ( assoc -- assoc' )
Next:harvest-keys ( assoc -- assoc' )

Vocabulary
assocs

Inputs
assocan assoc
Outputs
assoc'a new assoc
Word description
Outputs an assoc removing values that are f.

Examples
USING: prettyprint assocs hashtables ; H{ { 1 f } { 3 4 } } sift-values .
H{ { 3 4 } }
See also
sift-keys, harvest-keys, harvest-values

Definition