MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/ayanami / getState

Function getState

src/core/ayanami.ts:58–62  ·  view source on GitHub ↗
(
    this: M,
  )

Source from the content-addressed store, hash-verified

56 }
57
58 getState<M extends Ayanami<State>>(
59 this: M,
60 ): M extends Ayanami<infer S> ? Readonly<S> : Readonly<State> {
61 return combineWithIkari(this).state.getState() as any
62 }
63
64 getActions<M extends Ayanami<State>>(
65 this: M,

Callers 2

setupReducerActionsFunction · 0.70
setupImmerReducerActionsFunction · 0.70

Calls 2

combineWithIkariFunction · 0.90
getStateMethod · 0.80

Tested by

no test coverage detected