bfCard method

Future<int> bfCard(
  1. String key, {
  2. bool forceRun = false,
})

BF.CARD key

Returns the cardinality (approximate number of items inserted) of the Bloom Filter. Note: This returns '0' if the key does not exist.

Implementation

Future<int> bfCard(
  String key, {
  bool forceRun = false,
}) async =>
    executeInt(['BF.CARD', key]);