forked from episodes-platform/shared-snippets
10 lines
408 B
Matlab
10 lines
408 B
Matlab
% -----------------
|
|
% Copyright © 2023 ACK Cyfronet AGH, Poland.
|
|
% -----------------
|
|
|
|
function isText = isText(col_desc)
|
|
% DESCRIPTION: Function checking if given column is of text type
|
|
% INPUTS:
|
|
% - col_desc : structure containing information how the column should be constructed
|
|
isText = strcmp(col_desc.inputType, 'TEXT') | strcmp(col_desc.format, '5a') | strcmp(col_desc.format, '5b');
|
|
end |