Handbook
Glossary
lexical? ( object -- ? )
Vocabulary
locals
.
types
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
lexical
class.
Definition
USING:
kernel
;
IN:
locals.types
:
lexical?
( object -- ? )
dup
local-writer?
[
drop
t
]
[
dup
local-reader?
[
drop
t
]
[
local?
]
if
]
if
;