MCPcopy Index your code
hub / github.com/meetDeveloper/freeDictionaryAPI / findDefinitions

Function findDefinitions

modules/dictionary.js:185–191  ·  view source on GitHub ↗
(word, language, { include })

Source from the content-addressed store, hash-verified

183}
184
185async function findDefinitions (word, language, { include }) {
186 let dictionaryData = await fetchFromSource(word, language);
187
188 if (_.isEmpty(dictionaryData)) { throw new errors.UnexpectedError(); }
189
190 return transform(word, language, dictionaryData, { include });
191}
192
193module.exports = {
194 findDefinitions,

Callers

nothing calls this directly

Calls 2

fetchFromSourceFunction · 0.85
transformFunction · 0.85

Tested by

no test coverage detected