Skip to content

pantoken / packages/plugin-kit/src / isFactoried

Fonksiyon: isFactoried()

isFactoried(plugin): boolean

Beta

Bir eklenti definePlugin (veya extendPlugin) ile oluşturulduğunda Doğru.

Parametreler

plugin

PantokenPlugin

Döndürür

boolean

Örnek

ts
import { definePlugin, isFactoried } from "@pantoken/plugin-kit";

isFactoried(definePlugin({ name: "brand", css: () => ({}) })); // → true
isFactoried({ name: "hand-written", css: () => ({}) });        // → false