• A function that simulates the Array.some behaviour but on an array of Promises. Returns true if at least one promise returns true. Returns false if all promises return false or error.

    Parameters

    • predicates: Promise<boolean>[]

    Returns Promise<boolean>

    Predicates provided as input must be implemented considering the following points:

    1. if they throw an error, it won't be propagated;
    2. throwing an error should be logically equivalent to returning false.