gulp/helpers/navMap-helpers.js
function checkSearchTerm(searchTerm){
		if (!is_string(searchTerm) && !is_numeric(searchTerm)){
			console.log('\nError: This must be either a string or an interval:\n', searchTerm, ' \n');
			return false;
		} else {
			return true;
		}
	}
function checkSearchTerm(searchTerm){
		if (!is_string(searchTerm) && !is_numeric(searchTerm)){
			console.log('\nError: This must be either a string or an interval:\n', searchTerm, ' \n');
			return false;
		} else {
			return true;
		}
	}
function checkSearchTerm ( searchTerm ) { if ( ! is_string ( searchTerm ) && ! is_numeric ( searchTerm ) ) { console . log ( '\nError: This must be either a string or an interval:\n' , searchTerm , ' \n' ) ; return false ; } else { return true ; } }
Throw an error if neither a string or an interval provided
Throw an error if neither a string or an interval provided