Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ getStateCodeByStateName
Function
getStateCodeByStateName
app/core/utils.js:1224–1224 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1222
// returns a valid state code else null
1223
1224
const
getStateCodeByStateName = name => stateCodesByName[sanitizeStateName(name)] || null
1225
1226
return
{
1227
sanitizeStateCode,
Callers
nothing calls this directly
Calls
1
sanitizeStateName
Function · 0.85
Tested by
no test coverage detected