• Performs a full outer join on two homogeneous sequences. Additional arguments specify key selection functions and result projection functions.

    Type Parameters

    • TFirst
    • TKey
    • TResult

    Parameters

    • first: Iterable<TFirst>

      The first sequence of the join operation.

    • second: Iterable<TFirst>

      The second sequence of the join operation.

    • keySelector: (item: TFirst) => TKey

      Function that projects the key given an element of one of the sequences to join.

    • firstSelector: (item: TFirst) => TResult

      Function that projects the result given just an element from first where there is no corresponding element in second.

    • secondSelector: (item: TFirst) => TResult

      Function that projects the result given just an element from second where there is no corresponding element in first.

    • bothSelector: (a: TFirst, b: TFirst) => TResult

      Function that projects the result given an element from first and an element from second that match on a common key.

    • OptionalequalityComparer: EqualityComparer<TKey>

      A function to compare keys.

    Returns IEnumerable<TResult>

    A sequence containing results projected from a full outer join of the two input sequences.

    TFirst The type of elements in the first sequence.

    TKey The type of the key returned by the key selector functions.

    TResult The type of the result elements.