Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular-cli
/ validateClassName
Function
validateClassName
packages/schematics/angular/utility/validation.ts:25–29 ·
view source on GitHub ↗
(className: string)
Source
from the content-addressed store, hash-verified
23
}
24
25
export
function
validateClassName(className: string): void {
26
if
(!ecmaIdentifierNameRegExp.test(className)) {
27
throw
new
SchematicsException(`Class name
"${className}"
is invalid.`);
28
}
29
}
Callers
6
index.ts
File · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
generateFromFiles
Function · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected