MCPcopy
hub / github.com/fanmingming/live / pluckModuleFunction

Function pluckModuleFunction

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

Source from the content-addressed store, hash-verified

6924 /* eslint-enable no-unused-vars */
6925
6926 function pluckModuleFunction (
6927 modules,
6928 key
6929 ) {
6930 return modules
6931 ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
6932 : []
6933 }
6934
6935 function addProp (el, name, value, range, dynamic) {
6936 (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