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

Function hasComments

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

Source from the content-addressed store, hash-verified

71}
72
73function hasComments(node: cs.Node) {
74 return Array.isArray(node.comments)
75}
76
77function hasLeadingCommentRanges(node: TSTypeKind) {
78 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