Docs (4.0.0)
class ManagedList method

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