MCPcopy
hub / github.com/alibaba/lowcode-engine / getProp

Method getProp

packages/types/src/shell/model/node.ts:302–302  ·  view source on GitHub ↗

* 获取指定 path 的属性模型实例 * get prop by path * @param path 属性路径,支持 a / a.b / a.0 等格式 * @param createIfNone 如果不存在,是否新建,默认为 true

(path: string | number, createIfNone?: boolean)

Source from the content-addressed store, hash-verified

300 * @param createIfNone 如果不存在,是否新建,默认为 true
301 */
302 getProp(path: string | number, createIfNone?: boolean): Prop | null;
303
304 /**
305 * 获取指定 path 的属性模型实例值

Callers 13

getPropMethod · 0.65
getPropMethod · 0.65
getExtraPropMethod · 0.65
getTextFunction · 0.65
handlerFunction · 0.65
applyMethod · 0.65
getPropValueMethod · 0.65
setKeyMethod · 0.65
removeMethod · 0.65
valueStateMethod · 0.65

Implementers 1

Nodepackages/shell/src/model/node.ts

Calls

no outgoing calls

Tested by

no test coverage detected