MCPcopy Create free account
hub / github.com/codecombat/codecombat / __guard__

Function __guard__

app/views/HomeCNView.js:222–224  ·  view source on GitHub ↗
(value, transform)

Source from the content-addressed store, hash-verified

220})())
221
222function __guard__ (value, transform) {
223 return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined
224}

Callers 2

onClickTrackEventMethod · 0.70
onClickAnchorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected