value? ( value assoc -- ? )
Factor handbook » The language » Collections » Associative mapping operations » Transposed assoc operations

Prev:value-at* ( value assoc -- key/f ? )


Vocabulary
assocs

Inputs
valuean object
assocan assoc


Outputs
?a boolean


Word description
Tests if an assoc contains at least one key with the given value.

Definition


: value? ( value assoc -- ? ) value-at* nip ;