function p = issparse(x)
%MATLAB Code Generation Library Function

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

coder.internal.allowHalfInputs;
coder.internal.allowEnumInputs;
coder.internal.allowHalfInputs;
if coder.target('MATLAB')
    p = builtin('isa',x,'coder.internal.sparse');
else
    p = false;
end
