@brief returns the type of a collection `collection.type()` Returns the type of a collection. Possible values are: - 2: document collection - 3: edge collection