MCPcopy Create free account
hub / github.com/experdot/pointer / mergeClassNames

Function mergeClassNames

src/renderer/src/utils/shortcutPresentation.ts:19–22  ·  view source on GitHub ↗
(...values: Array<string | undefined>)

Source from the content-addressed store, hash-verified

17let cachedDisplayPlatform: DisplayPlatform | null = null
18
19function mergeClassNames(...values: Array<string | undefined>): string | undefined {
20 const filtered = values.filter(Boolean)
21 return filtered.length > 0 ? filtered.join(' ') : undefined
22}
23
24function resolveDisplayPlatform(): DisplayPlatform {
25 if (cachedDisplayPlatform) {

Callers 1

withStandardMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected