Function fullJoinHeterogeneous

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

    Type Parameters

    • TFirst
    • TSecond
    • TKey
    • TResult

    Parameters

    • first: Iterable<TFirst>

      The first sequence of the join operation.

    • second: Iterable<TSecond>

      The second sequence of the join operation.

    • firstKeySelector: (item: TFirst) => TKey

      Function that projects the key given an element from first.

    • secondKeySelector: (item: TSecond) => TKey

      Function that projects the key given an element from second.

    • firstSelector: (item: TFirst) => TResult
    • secondSelector: (item: TSecond) => TResult

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

    • bothSelector: (a: TFirst, b: TSecond) => 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 right outer join of the two input sequences.

    TFirst The type of elements in the first sequence.

    TSecond The type of elements in the second sequence.

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

    TResult The type of the result elements.