diff options
| author | Stefan Monnier | 2006-05-01 13:30:59 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-05-01 13:30:59 +0000 |
| commit | 0ccc83d9d3e17856aa962e7748277cafcf76d921 (patch) | |
| tree | 4e0aa67f69330ca2a96bb37fb81b4a59d3da4544 | |
| parent | a01b1e220c30f882de5f0a3066730a0980929283 (diff) | |
| download | emacs-0ccc83d9d3e17856aa962e7748277cafcf76d921.tar.gz emacs-0ccc83d9d3e17856aa962e7748277cafcf76d921.zip | |
(nil and t): Add `booleanp' predicate.
| -rw-r--r-- | lispref/intro.texi | 5 |
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 | |||
| 212 | values results in a @code{setting-constant} error. @xref{Constant | 212 | values results in a @code{setting-constant} error. @xref{Constant |
| 213 | Variables}. | 213 | Variables}. |
| 214 | 214 | ||
| 215 | @defun booleanp object | ||
| 216 | Return non-nil iff @var{object} is one of the two canonical boolean | ||
| 217 | values: @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 |