CLCS
Function

random-state-p

random-state-p objectgeneralized-boolean

Arguments and Values

objectan object.
generalized-booleana generalized boolean.

Description

Returns true if object is of type random-state; otherwise, returns false.

Examples

 (random-state-p *random-state*) ⇒  true
 (random-state-p (make-random-state)) ⇒  true
 (random-state-p 'test-function) ⇒  false

Notes

 (random-state-p object) ≡ (typep object 'random-state)