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

Function isArrayExpression

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

Source from the content-addressed store, hash-verified

121 jscodeshift.match(node, { type: jscodeshift.NewExpression.name })
122
123 const isArrayExpression = (node) =>
124 jscodeshift.match(node, { type: jscodeshift.ArrayExpression.name })
125
126 const isObjectExpression = (node) =>
127 jscodeshift.match(node, { type: jscodeshift.ObjectExpression.name })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected