(first: any[], second: any[])
| 15 | } from './reducer'; |
| 16 | |
| 17 | export function difference(first: any[], second: any[]) { |
| 18 | return first.filter((item) => second.indexOf(item) < 0); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Provides an app's view into the state of the lifted store. |