Optionalproperties: FeatureListPropertiesProtected Readonly_handlesThe declared class name. This is always "esri.core.Collection" for
compatibility with Esri's API.
ReadonlyfeatureThe backing set of features contained in this list.
ReadonlyidThe unique ID for this entity.
A human-readable name for the feature list.
Protected_collectionWhether the collection has been destroyed.
Whether the collection has been initialized.
Set to true once the initialize function has executed.
The item type for this entity when it participates in an App.
The number of items in the collection.
Protected_getProtected_getProtected_onInvoked whenever the underlying feature set has changed.
The change event.
Protected_setAdds a single item to the collection.
Optional_index: numberAdds multiple items to the collection.
An array or collection of items to add.
Optionalindex: numberZero-based index of where in the collection to add the items. If not specified, the items will be added at the end.
Filters the list in place to only include items that match the given criteria.
The filter criteria to apply.
Sets the properties for this list.
An object containing property values to set.
Sets the properties for this item.
This version will also await any asynchronous logic that is needed to set the properties.
A plain object containing property values to set, keyed by property name.
OptionalthisArg: anyDetermines whether all items in the Collection pass a test defined by callback. Each item in the Collection is passed into the callback until one returns a value of false.
The function to call for each item in the Collection.
Filters the Collection's items based on a test defined by the callback function. Each item is passed into the callback function, which returns true if the item passes the test and false if it does not.
The function that defines a test for determining whether to return the item in a new Collection.
Returns an item in the Collection if that item passes a test as defined in the callback function. Each item is passed into the callback function, which returns true if the item passes the test and false if it does not.
The testing function that will assess each item in the Collection. Returns true if an item passes the test and false if it fails.
Returns the index of an item in the Collection if that item passes a test as defined in the callback function. Each item is passed into the callback function, which returns true if the item passes the test and false if it does not.
The testing function that will assess each item in the Collection. Returns true if an item passes the test and false if it fails.
Returns the index of the Collection item that satisfies the test function. If an item fails the test, -1 is returned.
Flattens a hierarchical Collection containing at least one child collection. Each item in the collection is passed into the callback function, which should check for child collections specified by the developer. A flat collection of all items (parent and children) is returned.
Executes the input function for each item in the Collection.
The function to call for each item in the Collection.
Gets the default value of an object's property.
The property of the object for which to get the default value.
Gets the object's default property values.
Returns the serializable properties.
Optional. If specified, only properties that support the given serialization mode will be returned.
Tests if an item is present in the Collection.
The item to search for in the collection.
Returns the index of an element in the collection.
Item to search for in the collection.
OptionalfromIndex: numberUse if you don't want to search the whole collection or you don't want to search from the start.
Returns the last index of an element in the collection.
Item to search for in the collection.
OptionalfromIndex: numberUse if you don't want to search the whole collection, or you don't want to search from the end.
The location of the last match found in the collection, or -1 if there is no match.
Passes each Collection item into the callback function and returns a new array of the returned values.
The function that processes each item in the Collection and returns a new value at the same index of the original item.
ProtectednotifyAdds an item to the end of the collection.
The item to add.
Reduces all items in the collection (from left to right) into a single variable using callback.
The function that processes each item in the Collection and appends it to the previous item.
OptionalinitialValue: UItem to use as the first element to process in callback.
Reduces all items in the collection (from right to left) into a single variable using callback.
The function that processes each item in the Collection and appends it to the previous item.
OptionalinitialValue: UItem to use as the first element to process in callback.
Removes any filter that was applied via applyFilter.
Determines whether an item in the Collection passes a test defined by callback. Each item in the Collection is passed into the callback until one returns a value of true.
The function that defines the test for each Collection item.
Sorts the Collection in place.
Returns a serializable representation of this list.
If specified, only properties that are appropriate for the given mode are returned. Otherwise, all properties will be serialized.
Adds an item to the beginning of the collection.
The item to add.
Optionalsync: boolean
A read-only view of a data/FeatureSet!FeatureSet that supports sorting and filtering. This is a "live" view that is updated as the underlying feature set changes.