MCPcopy
hub / github.com/cursor/community-plugins / cn

Function cn

apps/cursor/src/lib/utils.ts:4–6  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

2import { twMerge } from "tailwind-merge";
3
4export function cn(...inputs: ClassValue[]) {
5 return twMerge(clsx(inputs));
6}
7
8export function isImageUrl(url: string): boolean {
9 if (!url) return false;

Callers 15

MobileMenuFunction · 0.90
ShareButtonFunction · 0.90
NavLinksListFunction · 0.90
AmbassadorBadgeFunction · 0.90
SearchInputFunction · 0.90
ProfileTabsFunction · 0.90
dialog.tsxFile · 0.90
DialogHeaderFunction · 0.90
DialogFooterFunction · 0.90
label.tsxFile · 0.90
switch.tsxFile · 0.90
command.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected