MCPcopy Create free account
hub / github.com/reactjs/react-docgen / toString

Function toString

packages/react-docgen/src/utils/expressionTo.ts:95–97  ·  view source on GitHub ↗

* Creates a string representation of a member expression.

(path: NodePath<Node | null>)

Source from the content-addressed store, hash-verified

93 * Creates a string representation of a member expression.
94 */
95function toString(path: NodePath<Node | null>): string {
96 return toArray(path).join('.');
97}
98
99export { toString as String, toArray as Array };

Callers 2

toArrayFunction · 0.85

Calls 1

toArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…