Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ hasLeadingCommentRanges
Function
hasLeadingCommentRanges
scripts/codemods/jsdoc.ts:77–79 ·
view source on GitHub ↗
(node: TSTypeKind)
Source
from the content-addressed store, hash-verified
75
}
76
77
function
hasLeadingCommentRanges(node: TSTypeKind) {
78
return
"leadingComments"
in node && Array.isArray(node.leadingComments) && node.leadingComments.length > 0
79
}
Callers
1
transformer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected