function tf = istext(text)
%MATLAB Code Generation Private Function

%   Copyright 2023 The MathWorks, Inc.
%#codegen
coder.inline('always');
tf = coder.internal.isTextRow(text) || ...
    coder.internal.isCellOfCharRow(text);
