@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

@param {SourceFile} sourceFile - The source file to retrieve the category from.