Handbook
Glossary
scalar-value ( obj -- obj' )
Vocabulary
yaml
Inputs
obj
an
object
Outputs
obj'
an
object
Word description
If
obj
is hashtable, returns it's default value, else return
obj
itself.
See also
value
Definition
USING:
hashtables
kernel
yaml.private
;
IN:
yaml
:
scalar-value
( obj -- obj' )
dup
hashtable?
[
?apply-default-key
]
when
;