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

Function addOneMutably

modules/entity/src/sorted_state_adapter.ts:26–28  ·  view source on GitHub ↗
(entity: any, state: any)

Source from the content-addressed store, hash-verified

24
25 function addOneMutably(entity: T, state: R): DidMutate;
26 function addOneMutably(entity: any, state: any): DidMutate {
27 return addManyMutably([entity], state);
28 }
29
30 function addManyMutably(newModels: T[], state: R): DidMutate;
31 function addManyMutably(newModels: any[], state: any): DidMutate {

Callers 1

setOneMutablyFunction · 0.70

Calls 1

addManyMutablyFunction · 0.70

Tested by

no test coverage detected