packages/optimizely-sdk/lib/core/project_config/index.js
function(projectConfig, eventKey) {
    var event = projectConfig.eventKeyMap[eventKey];
    if (event) {
      return event.id;
    }
    return null;
  }
function(projectConfig, eventKey) {
    var event = projectConfig.eventKeyMap[eventKey];
    if (event) {
      return event.id;
    }
    return null;
  }
function ( projectConfig , eventKey ) { var event = projectConfig . eventKeyMap [ eventKey ] ; if ( event ) { return event . id ; } return null ; }
Get event ID for the provided
@param  {Object}      projectConfig Object representing project configuration
@param  {string}      eventKey      Event key for which ID is to be determined
@return {string|null} Event ID corresponding to the provided event key
Get event ID for the provided