Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ __guard__
Function
__guard__
app/core/treema-ext.js:909–911 ·
view source on GitHub ↗
(value, transform)
Source
from the content-addressed store, hash-verified
907
// TreemaNode.setNodeSubclass 'checkbox', CheckboxTreema
908
909
function
__guard__ (value, transform) {
910
return
(typeof value !==
'undefined'
&& value !== null) ? transform(value) : undefined
911
}
Callers
1
constructor
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected