Home > marsbar > @marmoire > isempty_item_data.m

isempty_item_data

PURPOSE ^

returns 1 if no data for this item

SYNOPSIS ^

function tf = isempty_item_data(o, item)

DESCRIPTION ^

 returns 1 if no data for this item
 FORMAT tf = sjjs(o, item)
 
 o     - object
 item  - item name
 
 tf    - flag, 1 if not empty
 
 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function tf = isempty_item_data(o, item)
0002 % returns 1 if no data for this item
0003 % FORMAT tf = sjjs(o, item)
0004 %
0005 % o     - object
0006 % item  - item name
0007 %
0008 % tf    - flag, 1 if not empty
0009 %
0010 % $Id$
0011 
0012 if nargin < 2
0013   error('Need item')
0014 end
0015 I  = get_item_struct(o, item);
0016 tf = pr_isempty(I);
0017   

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019