function flg = isnumerictype(T)
% MATLAB Code Generation Library function for isnumerictype.
%
% ISNUMERICTYPE(T) will return true if T is a embedded.numerictype.

% $INCLUDE(DOC) toolbox/eml/lib/fixedpoint/isnumerictype.m $
% Copyright 2002-2019 The MathWorks, Inc.
%#codegen
% $Revision $  

% Return true if T is numerictype, false otherwise
coder.internal.allowEnumInputs;
coder.internal.allowHalfInputs;
eml_allow_mx_inputs;

% Check for nargin and assert if not 1
eml_invariant(nargin == 1, 'fixed:coder:incorrectNumberOfInputs');

flg =  coder.const(isa(T,'embedded.numerictype'));
%----------------------------------------------------
