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

Function __guard__

app/views/HomeView.js:419–421  ·  view source on GitHub ↗
(value, transform)

Source from the content-addressed store, hash-verified

417// true
418
419function __guard__ (value, transform) {
420 return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined
421}

Callers 2

onClickAnchorMethod · 0.70
afterRenderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected