MCPcopy Create free account
hub / github.com/codemix/graph / get

Function get

packages/graph/src/Graph.ts:824–826  ·  view source on GitHub ↗

* Get a specific property of the element. * @param key The key of the property.

(key: TKey)

Source from the content-addressed store, hash-verified

822 * @param key The key of the property.
823 */
824 public get<TKey extends keyof TProperties>(key: TKey): TProperties[TKey] {
825 return this[$StoredElement].properties[key as keyof object];
826 }
827
828 /**
829 * Set a property of the element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected