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