MCPcopy Create free account
hub / github.com/astercloud/aster / cn

Function cn

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

Source from the content-addressed store, hash-verified

3
4// Merge Tailwind classes
5export function cn(...inputs: ClassValue[]) {
6 return twMerge(clsx(inputs));
7}
8
9// Format numbers
10export function formatNumber(num: number, decimals: number = 0): string {

Callers 15

HeaderFunction · 0.90
SidebarFunction · 0.90
SessionDetailFunction · 0.90
MessageBubbleFunction · 0.90
MetricsFunction · 0.90
EvalCardFunction · 0.90
NewEvalModalFunction · 0.90
AgentCardFunction · 0.90
BenchmarkCardFunction · 0.90
AgentNodeFunction · 0.90
AgentTopologyFunction · 0.90
StatusIconFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected