iscategorical
Test whether the input is a categorical array.
Syntax
Section titled “Syntax”tf = iscategorical(A)Description
Section titled “Description”Returns true if A is a categorical array, false otherwise.
Example
Section titled “Example”iscategorical(categorical({'a','b'})) % 1See also
Section titled “See also”categorical— Create a categorical array from data.