topic.d.ts 281 B

123456789
  1. /**
  2. * Checks if its a valid topic
  3. */
  4. export declare const isTopic: (topic: string) => boolean;
  5. /**
  6. * Returns true if the topic is part of the given bloom.
  7. * note: false positives are possible.
  8. */
  9. export declare const isTopicInBloom: (bloom: string, topic: string) => boolean;