MCPcopy Create free account
hub / github.com/effector/effector / isStructuredConfig

Function isStructuredConfig

src/react/createGate.ts:86–87  ·  view source on GitHub ↗
(arg: unknown)

Source from the content-addressed store, hash-verified

84 ('domain' in config || 'defaultState' in config || 'name' in config)
85
86const isStructuredConfig = (arg: unknown) =>
87 isObject(arg) && (arg.and || arg.or)
88
89export function processCreateGateConfig<State>(
90 hook: typeof useGateBase,

Callers 1

processCreateGateConfigFunction · 0.70

Calls 1

isObjectFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…