containsIndexNamed method

bool containsIndexNamed(
  1. String indexName
)

Returns true if the table contains an index with the given indexName.

Implementation

bool containsIndexNamed(String indexName) {
  return findIndexNamed(indexName) != null;
}