• An aysnc implementation of Array.every(). Returns as soon as a non-match is found.

    Parameters

    • items: Record<string, any>[]

      The items to check.

    • matches: ((item) => Promise<boolean>)

      The async matcher function, expected to return Promise: true for a matching item, false otherwise.

        • (item): Promise<boolean>
        • Parameters

          Returns Promise<boolean>

    Returns Promise<boolean>

    A Promise<boolean>, true if every item matches; false otherwise.