%% Determine if Input Is Table
% Create a table, T.

T = table(categorical(["M";"F";"M"]),[45 45;41 32;40 34],...
    ["NY";"CA";"MA"],[true;false;false])

%
% Verify that T is a table.

tf = istable(T)

% Copyright 2012-2021 The MathWorks, Inc.