UNPKG

live-set

Version:

Class representing a changing and transformable collection of items.

7 lines (4 loc) 228 B
import LiveSet from '.'; declare function filter<T>(liveSet: LiveSet<T>, cb: typeof Boolean): LiveSet<NonNullable<T>>; declare function filter<T>(liveSet: LiveSet<T>, cb: (value: T) => any): LiveSet<T>; export default filter;