MCPcopy Index your code
hub / github.com/codecombat/codecombat / __guard__

Function __guard__

app/views/core/ModalView.js:147–149  ·  view source on GitHub ↗
(value, transform)

Source from the content-addressed store, hash-verified

145 }
146}
147function __guard__ (value, transform) {
148 return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined
149}

Callers 1

onEscMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected