% ISCELL ISCELL Test For Cell Array
% 
% Usage
% 
% The syntax for iscell is 
% 
%    x = iscell(y)
% 
% and it returns a logical 1 if the argument is a cell array
% and a logical 0 otherwise.

% Copyright (c) 2002-2006 Samit Basu

function x = iscell(y)
  x = isa(y,'cell');

