@mpen/imut-utils
    Preparing search index...

    Function arraySelect

    • Filters the array to elements that pass the predicate. If limit is provided, returned array will be at most that length.

      Type Parameters

      • T

      Parameters

      • array: nil | T[]
      • predicate: (v: T, i: number) => boolean
      • Optionallimit: number

      Returns T[]