packages/data-point/lib/entity-types/entity-control/factory.js
function parseCaseStatements (spec) {
  return _(spec)
    .remove(statement => !_.isUndefined(statement.case))
    .map(parseCaseStatement)
    .value()
}
function parseCaseStatements (spec) {
  return _(spec)
    .remove(statement => !_.isUndefined(statement.case))
    .map(parseCaseStatement)
    .value()
}
function parseCaseStatements ( spec ) { return _ ( spec ) . remove ( statement => ! _ . isUndefined ( statement . case ) ) . map ( parseCaseStatement ) . value ( ) }
Parse only case statements

@param {hash} spec - key/value where each value will be mapped into a reducer
@returns
Parse only case statements