src/core/core.tooltip.js
function splitNewlines(str) {
	if ((typeof str === 'string' || str instanceof String) && str.indexOf('\n') > -1) {
		return str.split('\n');
	}
	return str;
}
function splitNewlines(str) {
	if ((typeof str === 'string' || str instanceof String) && str.indexOf('\n') > -1) {
		return str.split('\n');
	}
	return str;
}
function splitNewlines ( str ) { if ( ( typeof str === 'string' || str instanceof String ) && str . indexOf ( '\n' ) > - 1 ) { return str . split ( '\n' ) ; } return str ; }
Returns array of strings split by newline
@param {string} value - The value to split by newline.
@returns {string[]} value if newline present - Returned from String split() method
@function
Returns array of strings split by newline