MCPcopy Create free account
hub / github.com/dashnowords/imfe / pluckModuleFunction

Function pluckModuleFunction

chapter17/vue.js:6933–6940  ·  view source on GitHub ↗
(
    modules,
    key
  )

Source from the content-addressed store, hash-verified

6931 /* eslint-enable no-unused-vars */
6932
6933 function pluckModuleFunction (
6934 modules,
6935 key
6936 ) {
6937 return modules
6938 ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
6939 : []
6940 }
6941
6942 function addProp (el, name, value, range, dynamic) {
6943 (el.props || (el.props = [])).push(rangeSetItem({ name: name, value: value, dynamic: dynamic }, range));

Callers 2

parseFunction · 0.85
CodegenStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected