lib/process_babel_presets.js
function getPresetName(preset) {
	if (includesPresetName(preset)) {
		return _.isString(preset) ? preset : _.head(preset);
	}
	else {
		return null;
	}
}
function getPresetName(preset) {
	if (includesPresetName(preset)) {
		return _.isString(preset) ? preset : _.head(preset);
	}
	else {
		return null;
	}
}
function getPresetName ( preset ) { if ( includesPresetName ( preset ) ) { return _ . isString ( preset ) ? preset : _ . head ( preset ) ; } else { return null ; } }
Gets the babel preset name
@param {BabelPreset} preset A babel preset
@return {?string} The preset name
Gets the babel preset name