Prelude API
    Preparing search index...

    Type Alias Predicate<T>

    Predicate: (value: T, index: number) => boolean

    A synchronous predicate function that tests values in an async iterable.

    Type Parameters

    • T

      The type of values being tested

    Type Declaration

      • (value: T, index: number): boolean
      • Parameters

        • value: T
        • index: number

        Returns boolean