ee.Join.apply

Joins two collections.
UsageReturns
Join.apply(primary, secondary, condition)FeatureCollection
ArgumentTypeDetails
this: joinJoinThe join to apply; determines how the the results are constructed.
primaryFeatureCollectionThe primary collection.
secondaryFeatureCollectionThe secondary collection.
conditionFilterThe join condition used to select the matches from the two collections.