MCPcopy Create free account
hub / github.com/ngrx/platform / difference

Function difference

modules/store-devtools/src/utils.ts:17–19  ·  view source on GitHub ↗
(first: any[], second: any[])

Source from the content-addressed store, hash-verified

15} from './reducer';
16
17export 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.

Callers 1

liftReducerWithFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected