MCPcopy Create free account
hub / github.com/astercloud/aster / isPathReference

Function isPathReference

ui/src/types/ui-protocol.ts:765–767  ·  view source on GitHub ↗
(value: PropertyValue)

Source from the content-addressed store, hash-verified

763 * 判断 PropertyValue 是否为路径引用
764 */
765export function isPathReference(value: PropertyValue): value is { path: string } {
766 return 'path' in value;
767}
768
769/**
770 * 获取 PropertyValue 的字面值

Calls

no outgoing calls

Tested by

no test coverage detected