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

Function isSelectorsDictionary

modules/store/src/selector.ts:733–741  ·  view source on GitHub ↗
(
  selectors: unknown
)

Source from the content-addressed store, hash-verified

731}
732
733function isSelectorsDictionary(
734 selectors: unknown
735): selectors is Record<string, Selector<unknown, unknown>> {
736 return (
737 !!selectors &&
738 typeof selectors === 'object' &&
739 Object.values(selectors).every((selector) => typeof selector === 'function')
740 );
741}
742
743function extractArgsFromSelectorsDictionary(
744 selectorsDictionary: Record<string, Selector<unknown, unknown>>

Callers 1

createSelectorFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected