MCPcopy Create free account
hub / github.com/TanStack/query / isObjectExpression

Function isObjectExpression

packages/query-codemods/src/utils/index.cjs:126–127  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

124 jscodeshift.match(node, { type: jscodeshift.ArrayExpression.name })
125
126 const isObjectExpression = (node) =>
127 jscodeshift.match(node, { type: jscodeshift.ObjectExpression.name })
128
129 const isObjectProperty = (node) =>
130 jscodeshift.match(node, { type: jscodeshift.ObjectProperty.name })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected