Skip to content

istext

Test whether a value is text.

v = istext(value)

Returns true if value is a text string, false otherwise.

istext('hello') % 1
istext(42) % 0
  • isnontext — Test whether a value is not text.
  • ischar — Test whether the input is a character array.