MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / isSetterConfig

Function isSetterConfig

packages/core/src/utils/is.ts:52–57  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

50}
51
52export const isSetterConfig = (obj: any): obj is SetterConfig => {
53 if (!isObject(obj)) {
54 return false
55 }
56 return 'componentName' in obj
57}
58
59export const isPluginEventName = (eventName: string): boolean => {
60 if (!eventName) {

Callers 1

getSetterInfoFunction · 0.90

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected