common-stuff
    Preparing search index...

    Function every

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • K
      • V

      Parameters

      • input: Map<K, V>
      • predicate: (value: [K, V], index: number) => Promise<boolean>

      Returns Promise<boolean>

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • K
      • V

      Parameters

      • input: Map<K, V>
      • predicate: (value: [K, V], index: number) => boolean

      Returns boolean

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • T

      Parameters

      • input: AsyncIterable<T>
      • predicate: (value: T, index: number) => boolean | Promise<boolean>

      Returns Promise<boolean>

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • V

      Parameters

      • input: V[] | Set<V> | Iterable<V, any, any>
      • predicate: (value: V, index: number) => Promise<boolean>

      Returns Promise<boolean>

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • V

      Parameters

      • input: V[] | Set<V> | Iterable<V, any, any>
      • predicate: (value: V, index: number) => boolean

      Returns boolean

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • K extends PropertyKey
      • V

      Parameters

      • input: Record<K, V>
      • predicate: (value: [K, V], index: number) => Promise<boolean>

      Returns Promise<boolean>

    • Returns true if every element matches the predicate (vacuously true for empty inputs).

      Returns a Promise when input is an AsyncIterable or the predicate returns a Promise.

      Type Parameters

      • K extends PropertyKey
      • V

      Parameters

      • input: Record<K, V>
      • predicate: (value: [K, V], index: number) => boolean

      Returns boolean