Function match

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

  • Type Parameters

    • T

    Parameters

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

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