lib/Map/TableStructure.js
function getIndexOfColumn(tableStructure, column) {
  for (var i = 0; i < tableStructure.columns.length; i++) {
    if (tableStructure.columns[i] === column) {
      return i;
    }
  }
}
function getIndexOfColumn(tableStructure, column) {
  for (var i = 0; i < tableStructure.columns.length; i++) {
    if (tableStructure.columns[i] === column) {
      return i;
    }
  }
}
function getIndexOfColumn ( tableStructure , column ) { for ( var i = 0 ; i < tableStructure . columns . length ; i ++ ) { if ( tableStructure . columns [ i ] === column ) { return i ; } } }
Returns the index of the given column, or undefined if none match.
@param {TableStructure} tableStructure the table structure.
@param {TableColumn} column The column.
@returns {integer} The index of the column.
@private
Returns the index of the given column or undefined if none match .