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

getCategorySourceFile

Retrieves the source file for a given category.

Presentation

function getCategorySourceFile(sourceFile: SourceFile): SourceFile | undefined;

Returns

SourceFile | undefined -

{SourceFile | undefined} The source file for the category, or undefined if it could not be found.

Parameters

NameTypeDescription
sourceFile
SourceFile