changeset 70319:5565c9588f39

(nil and t): Add `booleanp' predicate.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 01 May 2006 13:30:59 +0000
parents 77201b466c80
children 17275343ae24
files lispref/intro.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/intro.texi	Mon May 01 13:22:15 2006 +0000
+++ b/lispref/intro.texi	Mon May 01 13:30:59 2006 +0000
@@ -212,6 +212,11 @@
 values results in a @code{setting-constant} error.  @xref{Constant
 Variables}.
 
+@defun booleanp object
+Return non-nil iff @var{object} is one of the two canonical boolean
+values: @code{t} or @code{nil}.
+@end defun
+
 @node Evaluation Notation
 @subsection Evaluation Notation
 @cindex evaluation notation