SDK
SDK Dart Null Safety v3.x
2

exists #

Checks if the given index exists in Kuzzle.

Arguments #

Future<bool> exists(String index)
ArgumentTypeDescription
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');