function is_string = isstring(s)
%MATLAB Code Generation Library Function

%   Returns true if s is a string.

%   Copyright 2016-2019 The MathWorks, Inc.
%#codegen

coder.internal.allowEnumInputs;
coder.internal.allowHalfInputs;
if coder.target('MATLAB')
    is_string = builtin('isstring',s);
else
    is_string = isa(s, 'coder.internal.string');
end
