SDK
SDK Dart Null Safety v3.x
2

exists #

Checks if a collection exists.


Arguments #

Future<bool> exists(String index, String collection)

ArgumentsTypeDescription
index
String
Index
collection
String
Collection

Return #

Returns a boolean.

Usage #

final result = await kuzzle
  .collection
  .exists('nyc-open-data', 'yellow-taxi');