Skip to content
Snippets Groups Projects
top.m 270 B
Newer Older
%return 'top' node
% usage
%   data = top(stack)

% ------------------------------

if isempty(self.stack_pointer)
  element = {};
else
  element = data(self.stack_pointer);
end
end