export function classNames()

in tutorials/viewer/src/utils.ts [4:7]


export function classNames(...args: (string | [string, boolean])[]) {
    return args.filter(x => x != null && (typeof (x) == "string" || x[1] == true))
        .map(x => typeof (x) == "string" ? x : x[0]).join(" ");
}