desktop/core/src/desktop/js/catalog/dataCatalogEntry.js
/**
   * Returns true if the entry is a table. It will be accurate once the source meta has been loaded.
   *
   * @return {boolean}
   */
Returns true if the entry is a table. It will be accurate once the source meta has been loaded.
@return {boolean}
Returns true if the entry is a table . It will be accurate once the source meta has been loaded . @return { boolean }
isView() {
    const self = this;
    return (
      self.path.length === 2 &&
      ((self.sourceMeta && self.sourceMeta.is_view) ||
        (self.definition &&
          self.definition.type &&
          self.definition.type.toLowerCase() === 'view') ||
        (self.analysis &&
          self.analysis.details &&
          self.analysis.details.properties &&
          self.analysis.details.properties.table_type === 'VIRTUAL_VIEW'))
    );
  }
isView ( ) { const self = this ; return ( self . path . length === 2 && ( ( self . sourceMeta && self . sourceMeta . is_view ) || ( self . definition && self . definition . type && self . definition . type . toLowerCase ( ) === 'view' ) || ( self . analysis && self . analysis . details && self . analysis . details . properties && self . analysis . details . properties . table_type === 'VIRTUAL_VIEW' ) ) ) ; }
Returns true if the entry is a table.
Returns true if the entry is a table .