Handbook
Glossary
&add ( value key -- )
Factor handbook
»
Developer tools
»
The inspector
Prev:
&put ( value n -- )
Next:
&rename ( key n -- )
Vocabulary
inspector
Inputs
value
an
object
key
an
object
Outputs
None
Word description
Adds a key/value pair to the current object.
Errors
Throws an error if the object does not support this operation.
See also
&back
,
&at
,
&put
,
&delete
Definition
USING:
assocs
inspector.private
mirrors
namespaces
;
IN:
inspector
:
&add
( value key -- )
mirror
get
set-at
&push
reinspect
;