MCPcopy Create free account
hub / github.com/TruthHun/BookStack / pluckModuleFunction

Function pluckModuleFunction

static/vuejs/vue.common.js:5447–5454  ·  view source on GitHub ↗
(
  modules,
  key
)

Source from the content-addressed store, hash-verified

5445}
5446
5447function pluckModuleFunction (
5448 modules,
5449 key
5450) {
5451 return modules
5452 ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
5453 : []
5454}
5455
5456function addProp (el, name, value) {
5457 (el.props || (el.props = [])).push({ name: name, value: value });

Callers 2

parseFunction · 0.70
generateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected