string.isscalar
string: TF = isscalar (str)
Test if string array is a scalar.
TF is true, if string array str is a scalar.
true
Source Code: string