Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

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

NameTypeDescription
nodes
T[]