MCPcopy
hub / github.com/loggerhead/json4u / cn

Function cn

src/lib/utils.ts:35–37  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

33}[keyof T];
34
35export function cn(...inputs: ClassValue[]) {
36 return twMerge(clsx(inputs));
37}
38
39export function isApproximatelyEqual(a: number, b: number, tolerance: number) {
40 return Math.abs(a - b) < tolerance;

Callers 15

Section.tsxFile · 0.90
LogoutButton.tsxFile · 0.90
LoadingFunction · 0.90
AccountPanelFunction · 0.90
dialog.tsxFile · 0.90
DialogHeaderFunction · 0.90
DialogFooterFunction · 0.90
label.tsxFile · 0.90
switch.tsxFile · 0.90
breadcrumb.tsxFile · 0.90
BreadcrumbSeparatorFunction · 0.90
BreadcrumbEllipsisFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected