@ng-doc/builder / Function

extractDefaultExportName

Extracts the category name from the given file path.

Presentation

function extractDefaultExportName(tree: Tree, filePath: string): string | null;

Returns

string | null -

{string | null} The category name.

Parameters

NameTypeDescription
tree
Tree

@param tree

filePath
string

@param {string} filePath The file path.