Options
All
  • Public
  • Public/Protected
  • All
Menu

Module async/filter

Index

Functions Async

Async Functions

  • filter<T>(collection: T[], predicate: AsyncFunction<[T, any, any], boolean>): Promise<T[]>
  • AsyncUtils.filter, filter values by async predicate function

    author

    Theo Sun

    since

    5.18.0

    Type parameters

    • T: unknown

    Parameters

    • collection: T[]
    • predicate: AsyncFunction<[T, any, any], boolean>

      async predicate

    Returns Promise<T[]>