Generate a sequence by concatenating sequences projected from elements of a sequence.
List all pets and their owners given a list of people and their pets like this:
var selectMany = ;var sequence = ;var toArray = ;var peopleAndPets =;var petOwners = selectManytoArray;
'Alice owns Tiger''Alice owns Butch''Bob owns Spike''Bob owns Fluffy'
Enumerable: See @kingjs/enumerable.define.
this: A sequence each element of which can be transformed into another sequence.
collectionSelector: Return a sequence given an element of
x: The element to transform into a sequence.
i: The index of the element being transformed into a sequence.
resultSelector: Transform an element of the sequence derived from
x: The element transformed into a sequence of which
yis a member.
y: The element of sequence derived from
A flattened transformed version of the original sequence.
With npm installed, run
$ npm install @kingjs/link.select-many