src/class-name-builder.js
function cleanClassNames(value) {
    const classNamesArray = isString(value) ? splitString(value) : value;
    const trimmedNamesArray = trimClassNames(classNamesArray);
    const uniqueNamesArray = unique(trimmedNamesArray);
    return uniqueNamesArray;
}
function cleanClassNames(value) {
    const classNamesArray = isString(value) ? splitString(value) : value;
    const trimmedNamesArray = trimClassNames(classNamesArray);
    const uniqueNamesArray = unique(trimmedNamesArray);
    return uniqueNamesArray;
}
function cleanClassNames ( value ) { const classNamesArray = isString ( value ) ? splitString ( value ) : value ; const trimmedNamesArray = trimClassNames ( classNamesArray ) ; const uniqueNamesArray = unique ( trimmedNamesArray ) ; return uniqueNamesArray ; }
Converts class name input into an array of strings with space trimmed off
@param {string | Array<string>} value - the value to convert
@returns {Array<string>} the split and trimmed values
Converts class name input into an array of strings with space trimmed off