Nutrient Web SDK

Function intersect

Creates a set of the values every provided collection includes.

NutrientViewer.Immutable.Set.intersect([
NutrientViewer.Immutable.Set(['a', 'b', 'c']),
NutrientViewer.Immutable.Set(['c', 'a', 't']),
])
// Set { "c", "a" }
Function
Type Signature
intersect<T>(
    sets: Iterable<Iterable<T, any, any>>,
): NutrientViewer.Immutable.Set<T>