pub unsafe extern "C" fn tsk_table_collection_has_index(
    self_: *const tsk_table_collection_t,
    options: tsk_flags_t
) -> bool
Expand description

@brief Returns true if this table collection is indexed.

@rst This method returns true if the table collection has an index for the edge table. It guarantees that the index exists, and that it is for the same number of edges that are in the edge table. It does not guarantee that the index is valid (i.e., if the rows in the edge have been permuted in some way since the index was built).

See the :ref:sec_c_api_table_indexes section for details on the index life-cycle. @endrst

@param self A pointer to a tsk_table_collection_t object. @param options Bitwise options. Currently unused; should be set to zero to ensure compatibility with later versions of tskit. @return Return true if there is an index present for this table collection.