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

Function isObjectPattern

packages/query-codemods/src/v5/is-loading/is-loading.cjs:42–46  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

40 * @returns {boolean}
41 */
42 const isObjectPattern = (node) => {
43 return jscodeshift.match(node, {
44 type: jscodeshift.ObjectPattern.name,
45 })
46 }
47
48 /**
49 * @param {import('jscodeshift').ASTNode} node

Callers 1

replacerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected