MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / get

Method get

packages/editor-core/src/editor.ts:107–111  ·  view source on GitHub ↗
(
      keyOrType: KeyOrType,
    )

Source from the content-addressed store, hash-verified

105 }
106
107 get<T = undefined, KeyOrType = any>(
108 keyOrType: KeyOrType,
109 ): IPublicTypeEditorGetResult<T, KeyOrType> | undefined {
110 return this.context.get(keyOrType as any);
111 }
112
113 has(keyOrType: IPublicTypeEditorValueKey): boolean {
114 return this.context.has(keyOrType);

Callers 1

notifyGotMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected