Handbook
Glossary
value? ( value assoc -- ? )
Factor handbook
»
The language
»
Collections
»
Associative mapping operations
»
Transposed assoc operations
Prev:
value-at* ( value assoc -- key/f ? )
Vocabulary
assocs
Inputs
value
an
object
assoc
an
assoc
Outputs
?
a
boolean
Word description
Tests if an assoc contains at least one key with the given value.
Definition
USING:
kernel
;
IN:
assocs
:
value?
( value assoc -- ? )
value-at*
nip
;