Mercurial > jwe > octave
diff libinterp/octave-value/ov-cell.cc @ 24474:0b65949870e3
isstring.m: Add new function for identifying string arrays.
* scripts/strings/isstring.m: New function. Always returns false since Octave
does not implement string arrays.
* scripts/strings/module.mk: Add isstring.m to build system.
* NEWS: Announce new function.
* strings.txi: Add DOCSTRING entry for isstring to manual.
Rewrite how to distinguish a string (1xN char vector) from a char array.
* data.cc (Fislogical, Fisinteger, Fiscomplex, Fisfloat, Fisnumeric):
Add isstring to @seealso links.
* strfns.cc (Fischar): Add isstring to @seealso links.
* ov-cell.cc (Fiscellstr): Add isstring to @seealso links.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 27 Dec 2017 11:22:26 -0800 |
parents | 336f89b6208b |
children | 194eb4bd202b |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.cc Wed Dec 27 08:59:41 2017 -0800 +++ b/libinterp/octave-value/ov-cell.cc Wed Dec 27 11:22:26 2017 -0800 @@ -1269,7 +1269,7 @@ @deftypefn {} {} iscellstr (@var{cell}) Return true if every element of the cell array @var{cell} is a character string. -@seealso{ischar} +@seealso{ischar, isstring} @end deftypefn */) { if (args.length () != 1)