toggleClass = (elements, className, flag) => {
	const els = _.createElementArray(elements);
	let index = elms.length;
	while (index--) {
		els[index]?.classList.toggle(className, flag);
	}
}
Toggle class name of DOM element(s)
@param {HTMLElement|HTMLElement[]|NodeList} els 
@param {string} name - class name to toggle (toggle only accepts one name)
@param {boolean} flag - force toggle; true = add class, false = remove class;
 if undefined, the class will be toggled based on the element's class name