MCPcopy Index your code
hub / github.com/documentationjs/documentation / t

Function t

src/output/util/format_type.js:11–13  ·  view source on GitHub ↗

* Shortcut to create a new text node * * @param {string} text contents * @returns {Object} remark AST node

(text)

Source from the content-addressed store, hash-verified

9 * @returns {Object} remark AST node
10 */
11function t(text) {
12 return u('text', text);
13}
14
15/**
16 * Helper used to automatically link items to global JS documentation or to internal

Callers 4

linkFunction · 0.85
commaListFunction · 0.85
decorateFunction · 0.85
formatTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected