You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dtype.m
    path of file: ./repos/spm12/@file_array/private
    
    the code of the file until where you have to start completion: function varargout = dtype(varargin)
% file_array's dtype property
% FORMAT varargout = dtype(varargin)
% For getting the value
% dat = dtype(obj)
%
% For setting the value
% obj = dtype(obj,dat)
%__________________________________________________________________________

    
function varargout = dtype(varargin)
% file_array's dtype property
% FORMAT varargout = dtype(varargin)
% For getting the value
% dat = dtype(obj)
%
% For setting the value
% obj = dtype(obj,dat)
%__________________________________________________________________________
% Copyright (C) 2005-2017 Wellcome Trust Centre for Neuroimaging

%
% $Id: dtype.m 7147 2017-08-03 14:07:01Z spm $


if nargin==2
    varargout{1} = asgn(varargin{:});
elseif nargin==1
    varargout{1} = ref(varargin{:});
else
    error('Wrong number of arguments.');
end