ModelList Class
Item Index
Methods
- difference static
- union static
Methods
difference
-
modelListType
-
modelLists
Creates a model list that is the difference of two or more other model lists. The new model list stays up to date as the source lists change.
Parameters:
-
modelListType
Function | Object | StringOptional. The first argument determines the type of model list that is created; it may be a constructor function or a string namespace to a constructor function stored on Y. If the first argument is an instance of ModelList, its constructor is used.
-
modelLists
Object1-n ModelList objects to difference. Order is important.
Returns:
union
-
modelListType
-
modelLists
Creates a model list that is the union of two or more other model lists. The new model list stays up to date as the source lists change.
Parameters:
-
modelListType
Function | Object | StringOptional. The first argument determines the type of model list that is created; it may be a constructor function or a string namespace to a constructor function stored on Y. If the first argument is an instance of ModelList, its constructor is used.
-
modelLists
Object1-n ModelList objects to union.