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

Function __guard__

app/models/CocoModel.js:621–623  ·  view source on GitHub ↗
(value, transform)

Source from the content-addressed store, hash-verified

619module.exports = CocoModel
620
621function __guard__ (value, transform) {
622 return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined
623}

Callers 2

initializeMethod · 0.70
isObjectIDMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected