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

Function isJSFunction

packages/core/src/document/prop/prop.ts:101–106  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

99}
100
101export function isJSFunction(data: any): data is JSFunction {
102 if (!isObject(data)) {
103 return false
104 }
105 return data.type === 'JSFunction'
106}
107
108export class Prop {
109 readonly isProp = true

Callers 5

executeLifeCycleMethodFunction · 0.90
BaseRendererClass · 0.90
handleDataMethod · 0.90
buildShouldFetchFunction · 0.90

Calls 1

isObjectFunction · 0.90

Tested by

no test coverage detected