Use joinClasses instead.
joinClasses(*classes)
Joins all given classes strings to one html-class-attribute String by filtering all out which are null or blank.