Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ parseIntAutoRadix
Function
parseIntAutoRadix
packages/compiler/src/expression_parser/lexer.ts:785–791 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
783
}
784
785
function
parseIntAutoRadix(text: string): number {
786
const
result: number = parseInt(text);
787
if
(isNaN(result)) {
788
throw
new
Error(
'Invalid integer literal when parsing '
+ text);
789
}
790
return
result;
791
}
Callers
1
scanNumber
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected