firstNodeWithComment
Generic types: | T |
Returns first node that has JSDoc comment, will return first node, if there are no comment nodes
Presentation
function firstNodeWithComment (nodes: T[]): T | undefined;
Returns
T | undefined
Parameters
Name | Type | Description |
---|---|---|
nodes | T[] |