MCPcopy Index your code
hub / github.com/nodejs/node / updateJSDocComment

Function updateJSDocComment

test/fixtures/snapshot/typescript.js:25987–25992  ·  view source on GitHub ↗
(node, comment, tags)

Source from the content-addressed store, hash-verified

25985 }
25986 // @api
25987 function updateJSDocComment(node, comment, tags) {
25988 return node.comment !== comment
25989 || node.tags !== tags
25990 ? update(createJSDocComment(comment, tags), node)
25991 : node;
25992 }
25993 //
25994 // JSX
25995 //

Callers

nothing calls this directly

Calls 2

createJSDocCommentFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected