%isUnderlyingType  Determine if a gpuArray has the specified underlying type.
%   
%   isUnderlyingType(OBJ,"TypeName") returns TRUE if the underlying type of OBJ
%   is equal to "TypeName", as returned by underlyingType(OBJ). Otherwise, the
%   result is FALSE. TypeName must be a character vector or string scalar.
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.ones(1, N, "uint8");
%       isUnderlyingType(D, "single") % returns false
%       isUnderlyingType(D, "uint8") % returns true
%   
%   See also underlyingType, mustBeUnderlyingType, class, GPUARRAY.
%   
%   


%   Copyright 2020 The MathWorks, Inc.
