User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function RANDOM-STATE-P ====== ====Syntax==== * **random-state-p** //object// → //generalized-boolean// ====Arguments and Values==== * //object// - an //[[CL:Glossary:object]]//. * //generalized-boolean// - a //[[CL:Glossary:generalized boolean]]//. ====Description==== Returns //[[CL:Glossary:true]]// if //object// is of //[[CL:Glossary:type]]// **[[CL:Types:random-state]]**; otherwise, returns //[[CL:Glossary:false]]//. ====Examples==== <blockquote> (random-state-p [[CL:Variables:*random-state*]]) <r>//[[CL:Glossary:true]]//</r> (random-state-p ([[CL:Functions:make-random-state]])) <r>//[[CL:Glossary:true]]//</r> (random-state-p 'test-function) <r>//[[CL:Glossary:false]]//</r> </blockquote> ====Side Effects==== None. ====Affected By==== None. ====Exceptional Situations==== None. ====See Also==== * **[[CL:Functions:make-random-state|Function MAKE-RANDOM-STATE]]** * **[[CL:Variables:star-random-state-star|Variable *RANDOM-STATE*]]** ====Notes==== <blockquote> (random-state-p //object//) ≡ ([[CL:Functions:typep]] //object// '[[CL:Types:random-state]]) </blockquote>