build/ical.js
function(name) {
      var props = this.jCal[PROPERTY_INDEX];
      var len = props.length;

      var i = 0;
      for (; i < len; i++) {
        // 0 is property name
        if (props[i][NAME_INDEX] === name) {
          return true;
        }
      }

      return false;
    }
function(name) {
      var props = this.jCal[PROPERTY_INDEX];
      var len = props.length;

      var i = 0;
      for (; i < len; i++) {
        // 0 is property name
        if (props[i][NAME_INDEX] === name) {
          return true;
        }
      }

      return false;
    }
function ( name ) { var props = this . jCal [ PROPERTY_INDEX ] ; var len = props . length ; var i = 0 ; for ( ; i < len ; i ++ ) { // 0 is property name if ( props [ i ] [ NAME_INDEX ] === name ) { return true ; } } return false ; }
Returns true when a named property exists.

@param {String} name     The property name
@return {Boolean}        True, when property is found
Returns true when a named property exists .