exists #
Checks if the given index exists in Kuzzle.
Arguments #
Future<bool> exists(String index)
Argument | Type | Description |
---|---|---|
index | String | Index name |
Return #
Returns a bool
that indicates whether the index exists or not.
Usage #
final result = await kuzzle
.index
.exists('nyc-open-data');
Edit this page on Github(opens new window)