MCPcopy Index your code
hub / github.com/standardnotes/app / classNames

Function classNames

packages/utils/src/Domain/Utils/ClassNames.ts:3–8  ·  view source on GitHub ↗
(...values: (string | null | undefined | boolean)[])

Source from the content-addressed store, hash-verified

1import { isNotUndefined } from './Utils'
2
3export const classNames = (...values: (string | null | undefined | boolean)[]): string => {
4 return values
5 .map((value) => (typeof value === 'string' ? value : null))
6 .filter(isNotUndefined)
7 .join(' ')
8}

Callers 15

FileDragNDropProviderFunction · 0.90
CopyableCodeBlockFunction · 0.90
IconPickerFunction · 0.90
IconFunction · 0.90
RadioButtonGroupFunction · 0.90
NoSubscriptionBannerFunction · 0.90
BlocksEditorFunction · 0.90
ClassNames.tsFile · 0.90
SearchPluginFunction · 0.90
DecoratedInput.tsxFile · 0.90
renderMethod · 0.90
AddSmartViewModalFunction · 0.90

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected