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