lib/third_party/tracing/extras/rail/rail_interaction_record.js
function userFriendlyRailTypeName(railTypeName) {
    if (railTypeName.length < 6 || railTypeName.indexOf('rail_') != 0)
      return railTypeName;
    return railTypeName[5].toUpperCase() + railTypeName.slice(6);
  }
function userFriendlyRailTypeName(railTypeName) {
    if (railTypeName.length < 6 || railTypeName.indexOf('rail_') != 0)
      return railTypeName;
    return railTypeName[5].toUpperCase() + railTypeName.slice(6);
  }
function userFriendlyRailTypeName ( railTypeName ) { if ( railTypeName . length < 6 || railTypeName . indexOf ( 'rail_' ) != 0 ) return railTypeName ; return railTypeName [ 5 ] . toUpperCase ( ) + railTypeName . slice ( 6 ) ; }
A user friendly name is currently formed by dropping the rail_ prefix and capitalizing.
A user friendly name is currently formed by dropping the rail_ prefix and capitalizing .