MCPcopy
hub / github.com/posthtml/posthtml / _treeExtendApi

Function _treeExtendApi

lib/index.js:271–275  ·  view source on GitHub ↗

* Extension of options tree * * @private * * @param {Array} tree * @param {Object} PostHTML * @returns {?*}

(t, _t)

Source from the content-addressed store, hash-verified

269 * @returns {?*}
270 */
271function _treeExtendApi (t, _t) {
272 if (typeof t === 'object') {
273 t = Object.assign(t, _t)
274 }
275}
276
277/**
278 * Checks if parameter is a Promise (or thenable) object.

Callers 2

processMethod · 0.85
nextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…