%isaUnderlying    True if the GPUARRAY array's underlying elements are a given class
%   TF = isaUnderlying(D, 'classname') returns true if the elements of D are 
%   either an instance of 'classname' or an instance of a class derived from 
%   'classname'.  isaUnderlying and ISA support the same values for 'classname'. 
%   
%   Example:   
%    
%       N = 1000;
%       D_uint8   = gpuArray.ones(1, N, 'uint8');
%       isUint8   = isaUnderlying(D_uint8, 'uint8')   % returns true
%       isInteger = isaUnderlying(D_uint8, 'integer') % returns true
%       isFloat   = isaUnderlying(D_uint8, 'float')   % returns false
%   
%   See also ISA, GPUARRAY, GPUARRAY/underlyingType, GPUARRAY/ONES.
%   


%   Copyright 2009-2020 The MathWorks, Inc.
