Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
key? ( key assoc -- ? )
Factor documentation
>
Factor handbook
>
The language
>
Collections
>
Associative mapping operations
>
Lookup and querying of assocs
Next:
at ( key assoc -- value/f )
Vocabulary
assocs
Inputs and outputs
key
an
object
assoc
an
assoc
?
a
boolean
Word description
Tests if an assoc contains a key.
See also
at
,
at*
,
?at
,
of
,
?of
Definition
USING:
kernel
;
IN:
assocs
:
key?
( key assoc -- ? )
at*
nip
;
inline