Handbook
Glossary
current-attribute ( document -- attribute/f )
Vocabulary
html5
Inputs
document
an
object
Outputs
attribute/f
an
object
Definition
USING:
accessors
arrays
kernel
sequences
strings
;
IN:
html5
:
current-attribute
( document -- attribute/f )
[
attribute-name>>
>string
f
like
]
[
attribute-value>>
>string
f
like
]
bi
2dup
or
[
2array
]
[
2drop
f
]
if
;