aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-05-01 13:30:59 +0000
committerStefan Monnier2006-05-01 13:30:59 +0000
commit0ccc83d9d3e17856aa962e7748277cafcf76d921 (patch)
tree4e0aa67f69330ca2a96bb37fb81b4a59d3da4544
parenta01b1e220c30f882de5f0a3066730a0980929283 (diff)
downloademacs-0ccc83d9d3e17856aa962e7748277cafcf76d921.tar.gz
emacs-0ccc83d9d3e17856aa962e7748277cafcf76d921.zip
(nil and t): Add `booleanp' predicate.
-rw-r--r--lispref/intro.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/intro.texi b/lispref/intro.texi
index b2294be4c2d..61dfca64b97 100644
--- a/lispref/intro.texi
+++ b/lispref/intro.texi
@@ -212,6 +212,11 @@ to use them as constants in a program. An attempt to change their
212values results in a @code{setting-constant} error. @xref{Constant 212values results in a @code{setting-constant} error. @xref{Constant
213Variables}. 213Variables}.
214 214
215@defun booleanp object
216Return non-nil iff @var{object} is one of the two canonical boolean
217values: @code{t} or @code{nil}.
218@end defun
219
215@node Evaluation Notation 220@node Evaluation Notation
216@subsection Evaluation Notation 221@subsection Evaluation Notation
217@cindex evaluation notation 222@cindex evaluation notation