Home > @microsoft/rush-lib > RushConfiguration > getProjectByName

RushConfiguration.getProjectByName() method

Looks up a project in the projectsByName map. If the project is not found, then undefined is returned.

Signature:

getProjectByName(projectName: string): RushConfigurationProject | undefined;

Parameters

Parameter Type Description
projectName string  

Returns:

RushConfigurationProject | undefined