Buckets:
| /** | |
| * Merge multiple args to a single string with spaces. Useful for merging class names. | |
| * @example | |
| * cx('foo', 'bar') // 'foo bar' | |
| * cx('foo', null, 'bar', undefined, 'baz', false) // 'foo bar baz' | |
| */ | |
| export function cx(...args: (string | undefined | null | false)[]): string { | |
| return args.filter(Boolean).join(' ') | |
| } | |
Xet Storage Details
- Size:
- 327 Bytes
- Xet hash:
- b1c6d7e4cfd31ffa4ce86510ceb4ce69e36edadcaa1cb62ea09d7e573d75e3af
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.