UNPKG

@automattic/wpcom-checkout

Version:
4 lines (3 loc) 148 B
export function joinClasses( classNames: ( string | null | undefined | false )[] ): string { return classNames.filter( ( x ) => x ).join( ' ' ); }