• A Array.prototype.filter-like function that splits the results into two groups - matched and unmatched

    Type Parameters

    • T

    Parameters

    • list: T[]

      original array

    • fn: MatchCallback<T>

      function matching elements

    Returns { matched: T[]; unmatched: T[] }

    • matched: T[]
    • unmatched: T[]

Generated using TypeDoc