Type alias ExitEarlyPredicate<D>

ExitEarlyPredicate<D>: ((...args) => boolean)

Type Parameters

  • D = firestore.DocumentData

Type declaration

    • (...args): boolean
    • A function that takes batch doc snapshots and the 0-based batch index and returns a boolean indicating whether to exit traversal early.

      Parameters

      Returns boolean

Generated using TypeDoc