server-already-running? ( object -- ? )


Vocabulary
io.servers

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the server-already-running class.

Definition
USING: classes.tuple.private kernel slots.private ;

IN: io.servers

: server-already-running? ( object -- ? )
dup tuple?
[ layout-of 7 slot \ server-already-running eq? ] [ drop f ]
if ;