iscellstr

Returns if a variable is a cell of strings.

Syntax

  • true_or_false = iscellstr(A)

Input argument

  • A - a variable

Output argument

  • true_or_false - a logical

Description

iscellstr(A) returns true if A is a cell of strings or an empty cell).

Examples

iscellstr('Nelson')
iscellstr({'Nelson'})
iscellstr({})

See also

iscell.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated