Classnames

Build a utility that merges class names together. It should accept strings, objects with boolean values, and arrays, then return a single string of combined class names where only truthy values are included.

Examples
Input: ["foo","bar"]
Output: "foo bar"
Hints

Classnames

Implement a function that conditionally joins CSS class names together based on strings or objects.