Mercurial > emacs
diff lispref/strings.texi @ 69845:e9b7f9dec32c
(Predicates for Strings): Add string-or-null-p.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Fri, 07 Apr 2006 18:53:09 +0000 |
parents | 337a846a85de |
children | 797e05668794 65ca8fb66a0d |
line wrap: on
line diff
--- a/lispref/strings.texi Fri Apr 07 18:52:30 2006 +0000 +++ b/lispref/strings.texi Fri Apr 07 18:53:09 2006 +0000 @@ -102,6 +102,11 @@ otherwise. @end defun +@defun string-or-null-p object +This function returns @code{t} if @var{object} is a string or nil, +@code{nil} otherwise. +@end defun + @defun char-or-string-p object This function returns @code{t} if @var{object} is a string or a character (i.e., an integer), @code{nil} otherwise.