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

Function isNewExpression

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

Source from the content-addressed store, hash-verified

118 jscodeshift.match(node, { type: jscodeshift.MemberExpression.name })
119
120 const isNewExpression = (node) =>
121 jscodeshift.match(node, { type: jscodeshift.NewExpression.name })
122
123 const isArrayExpression = (node) =>
124 jscodeshift.match(node, { type: jscodeshift.ArrayExpression.name })

Callers 1

isClassInstantiationOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected