Handbook
Glossary
mersenne-twister? ( object -- ? )
Vocabulary
random
.
mersenne-twister
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
mersenne-twister
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
random.mersenne-twister.private
:
mersenne-twister?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
mersenne-twister
eq?
]
[
drop
f
]
if
;