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

Function __guard__

app/views/play/menu/InventoryModal.js:1096–1098  ·  view source on GitHub ↗
(value, transform)

Source from the content-addressed store, hash-verified

1094const gearSlugs = _.invert(gear)
1095
1096function __guard__ (value, transform) {
1097 return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined
1098}

Callers 3

onItemsLoadedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected