Exhibit/API/2.2.0/Util/Set

= Exhibit.Set =

This is an almost exact clone of SimileAjax.Set with the addition of a static method for creating a new set out of the intersection of two sets.

Code: http://api.simile-widgets.org/exhibit/2.2.0/scripts/util/set.js

Back to Exhibit API

Exhibit.Set.createIntersection

 * Arguments:
 * set1: Exhibit.Set, The first set to intersect.
 * set2: Exhibit.Set, The second set to intersect; order is irrelevant.
 * result: Exhibit.Set, An optional set to modify by adding each element in the intersection
 * Returns: Exhibit.Set The new or modified set
 * Description: Creates a new set based on the intersection of two other sets.

Back to Exhibit API