Skip to content

isIconName

isIconName(name): name is string

Defined in: packages/react/src/ui/iconKey.ts:33

Whether name is a real Lucide icon name, usable as a type guard against untyped data before rendering it.

string

name is string