MCPcopy Create free account
hub / github.com/aws/constructs / of

Method of

src/construct.ts:46–48  ·  view source on GitHub ↗

* Returns the node associated with a construct. * @param construct the construct * * @deprecated use `construct.node` instead

(construct: IConstruct)

Source from the content-addressed store, hash-verified

44 * @deprecated use `construct.node` instead
45 */
46 public static of(construct: IConstruct): Node {
47 return construct.node;
48 }
49
50 /**
51 * Returns the scope in which this construct is defined.

Callers 4

construct.test.tsFile · 0.80
dependencyRootsMethod · 0.80
getFunction · 0.80
dependenciesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected