MCPcopy
hub / github.com/josdejong/mathjs / getDependenciesName

Function getDependenciesName

tools/entryGenerator.js:447–456  ·  view source on GitHub ↗
(factoryName, factories)

Source from the content-addressed store, hash-verified

445}
446
447function getDependenciesName (factoryName, factories) {
448 if (!factories) {
449 throw new Error('Cannot create dependencies name: factories is undefined')
450 }
451
452 const factory = factories[factoryName]
453 const transform = isTransform(factory) ? 'Transform' : ''
454
455 return factory.fn + transform + 'Dependencies'
456}
457
458function getDependenciesFileName (factoryName) {
459 if (factoryName.indexOf('create') !== 0) {

Callers 1

Calls 1

isTransformFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…