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

Function sanitizeState

modules/store-devtools/src/utils.ts:102–108  ·  view source on GitHub ↗
(
  stateSanitizer: StateSanitizer,
  state: any,
  stateIdx: number
)

Source from the content-addressed store, hash-verified

100 * Sanitizes given state with given function.
101 */
102export function sanitizeState(
103 stateSanitizer: StateSanitizer,
104 state: any,
105 stateIdx: number
106) {
107 return stateSanitizer(state, stateIdx);
108}
109
110/**
111 * Read the config and tell if actions should be filtered

Callers 2

notifyMethod · 0.90
sanitizeStatesFunction · 0.85

Calls 1

stateSanitizerFunction · 0.85

Tested by

no test coverage detected