TypeFilters Type
A collection of TypeFilter objects.
It is possible to retrieve a specific element by specifying its index in square brackets and obtain the number of elements in the collection with the method length
.
It is also possible to get the corresponding array with the method toArray
.
Example of Use
var filter = new Filter();
…
var typeFilters = filter.type;
var count = typeFilters.length;
var firstTypeFilter = typeeFilters[0];
var typeFiltersArray = typeFilters.toArray();
In the above example:
typeFilters
is a TypeFilters objectfirstTypeFilter
is a TypeFilter objecttypeFiltersArray
is an array of TypeFilter objects, on which it is possible to invoke all the methods that operate on arrays in JavaScript.