Set.intersect() creates a new immutable Set that is the intersection of a collection of other sets.
Set.intersect()
const { Set } = require('immutable')const intersected = Set.intersect([ Set([ 'a', 'b', 'c' ]) Set([ 'c', 'a', 't' ])])// Set [ "a", "c" ]
Generated using TypeDoc
Set.intersect()
creates a new immutable Set that is the intersection of a collection of other sets.