Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ __guard__
Function
__guard__
app/views/play/menu/InventoryModal.js:1096–1098 ·
view source on GitHub ↗
(value, transform)
Source
from the content-addressed store, hash-verified
1094
const
gearSlugs = _.invert(gear)
1095
1096
function
__guard__ (value, transform) {
1097
return
(typeof value !==
'undefined'
&& value !== null) ? transform(value) : undefined
1098
}
Callers
3
onItemsLoaded
Method · 0.70
updateLevelRequiredItems
Method · 0.70
askToBuyGemsOrSubscribe
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected