SDK
SDK Dart v2.x
2

exists #

Checks if the given index exists in Kuzzle.

Arguments #

Copied to clipboard!
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 #

Copied to clipboard!
final result = await kuzzle
  .index
  .exists('nyc-open-data');