Home > Objects > @iData > isfield.m

iFit/isfield

PURPOSE ^

b = isfield(s, field) : check existence of field/alias in iData objects

SYNOPSIS ^

function b = isfield(a, field)

DESCRIPTION ^

 b = isfield(s, field) : check existence of field/alias in iData objects

   @iData/isfield function which checks if a name is already defined as a Property
       or Alias or unique definition in the iData object.
     isfield(s) returns the full list of defined fields and aliases in the
     object.
   isfield scope (Properties and Aliases) is more restricted than findfield and 
     strfind methods.

 input:  s: object or array (iData)
         field: name to check for (string)
 output: b: true when the name is already defined, false otherwise
 ex:     b=isfield(a, 'history');

 Version: Aug. 22, 2017
 See also iData, isfield, iData/findfield, iData/strfind

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1