DisciplineFilters Type

A collection of DisciplineFilter 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.

Examples of Use

var filter = new Filter();

var disciplineFilters = filter.discipline;

var count = disciplineFilters.length;

var firstDisciplineFilter = disciplineFilters[0];

var disciplineFiltersArray = disciplineFilters.toArray();

In this example: