firewalk
    Preparing search index...

    Type Alias ExitEarlyPredicate<AppModelType, DbModelType>

    ExitEarlyPredicate: (
        ...args: Parameters<BatchCallback<AppModelType, DbModelType>>,
    ) => boolean

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

    Type Parameters

    • AppModelType = firestore.DocumentData
    • DbModelType extends firestore.DocumentData = firestore.DocumentData

    Type declaration