MCPcopy Create free account
hub / github.com/rollup/plugins / isPropertyDefinitionKey

Function isPropertyDefinitionKey

packages/commonjs/src/ast-utils.js:130–132  ·  view source on GitHub ↗
(parent, node)

Source from the content-addressed store, hash-verified

128}
129
130export function isPropertyDefinitionKey(parent, node) {
131 return parent && parent.type === 'PropertyDefinition' && parent.key === node;
132}
133
134export function hasDefineEsmProperty(node) {
135 return node.properties.some((property) => {

Callers 1

enterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected