- Getting Started
- Core classes
- ErrorResponse
- KuzzleError
- KuzzleRequest
- KuzzleResponse
- Kuzzle
- SearchResult
- Controllers
- auth
- collection
- document
- realtime
- security
Checks if the given index exists in Kuzzle.
Future<bool> exists(String index)
Argument | Type | Description |
---|---|---|
index | String | Index name |
Returns a bool
that indicates whether the index exists or not.
final result = await kuzzle
.index
.exists('nyc-open-data');