NgDoc

What is NgDoc? Installation SSR Configuration NEW OPTIONS Migrations
Pages and categories UPDATED Blockquotes NEW STYLES Images and embeds NEW Code blocks Mermaid diagrams NEW Nunjucks Demo and Demo Pane Playground Keywords
Auto generation Documenting declarations Rendering API NEW
Page Processors Page Skeleton Layout Search Themes UPDATED Icons
Performance Ignoring file lines
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[]
  • Presentation
  • Returns
  • Parameters
MIT © 2023 Aleksandr Skoropad