Mercurial > hg > octave-nkf
diff scripts/strings/isletter.m @ 11431:0d9640d755b1
Improve docstrings for all isXXX functions.
Use 'return true' rather than 'return 1'.
Improve the cross-referencing through seealso links.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 31 Dec 2010 13:20:44 -0800 |
parents | eb63fbe60fab |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/strings/isletter.m +++ b/scripts/strings/isletter.m @@ -18,8 +18,10 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} isletter (@var{s}) -## Returns true if @var{s} is a letter, false otherwise. -## @seealso{isalpha} +## Return a logical array which is true where the elements of @var{s} +## are letters and false where they are not. This is an alias for +## the @code{isalpha} function. +## @seealso{isalpha, isdigit, ispunct, isspace, iscntrl, isalnum} ## @end deftypefn ## Author: jwe