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

%   Copyright 2010-2019 The MathWorks, Inc.
%#codegen
coder.internal.allowHalfInputs;
coder.internal.allowEnumInputs;
eml_invariant(nargin > 0, ...
              'MATLAB:minrhs');
p = (ismatrix(x)) && (size(x,1) == 1);
% Later, when we support MCOS objects that can override SIZE, we may
% need to check:
% (size(x,2) >= 0) && (floor(size(x,2)) == size(x,2))
