filter
Returns an array of objects for which the provided callback function returns true.
filter(callback: (target: T) => boolean | undefined): T[]
Notes
- If the list is unlinked, this method returns an empty array.
- The behavior of this method is undefined if the callback modifies the list.
Related
- class ManagedListA data structure that contains an ordered set of managed objects.