Home > @rushstack/node-core-library > PackageNameParser > isValidName
PackageNameParser.isValidName() method
Returns true if the specified package name is valid, or false otherwise.
Signature:
isValidName(packageName: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
packageName | string |
Returns:
boolean
Remarks
This function will not throw an exception.