Generates a sequence of elements composed of elements from two sequences that share a common key.
Chris to their pets
Butch like this:
var join = ;var sequence = ;var toArray = ;var result = jointoArray;
'Alice owns Fluffy''Alice owns Spike''Bob owns Snuggles'
Enumerable: See @kingjs/enumerable.define.
this: The outer sequence.
inner: The inner sequence.
outerKeySelector: Selects a key from elements of the outer sequence.
innerKeySelector: Selects a key from elements of the inner sequence.
resultSelector: Composes a result element from an inner and an outer element which share a common key.
innerElement: The inner element.
outerElement: The outer element.
A sequence of elements composed of elements from two sequences that share a common key.
Elements are deemed equal if their key's stringified representations are the same.
Matching elements are generated in the order their inner element, then outer element, occur in their respective sequences.
With npm installed, run
$ npm install @kingjs/linq.join