MCPcopy Create free account
hub / github.com/Effect-TS/effect / hasComments

Function hasComments

scripts/codemods/jsdoc.ts:59–61  ·  view source on GitHub ↗
(node: cs.Node)

Source from the content-addressed store, hash-verified

57}
58
59function hasComments(node: cs.Node) {
60 return Array.isArray(node.comments)
61}
62
63function hasLeadingCommentRanges(node: TSTypeKind) {
64 return "leadingComments" in node && Array.isArray(node.leadingComments) && node.leadingComments.length > 0

Callers 1

transformerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected