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

Function pluckModuleFunction

static/vuejs/vue.js:5441–5448  ·  view source on GitHub ↗
(
  modules,
  key
)

Source from the content-addressed store, hash-verified

5439}
5440
5441function pluckModuleFunction (
5442 modules,
5443 key
5444) {
5445 return modules
5446 ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
5447 : []
5448}
5449
5450function addProp (el, name, value) {
5451 (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