API Reference
WikiLibrary.findDataSourceIndex( collectionName )
Parameters:
| collectionName | the name of the collection which we are looking for |
Returns:
An integer representing the index of the collection with the specified name. The collection could be retrieved via a call
to 'getDataSource(index)'.
Returns a negative index if no collection of the specified name was found.