MCPcopy Index your code
hub / github.com/postlight/parser / selectExtendedTypes

Function selectExtendedTypes

src/extractors/root-extractor.js:177–185  ·  view source on GitHub ↗
(extend, opts)

Source from the content-addressed store, hash-verified

175}
176
177export function selectExtendedTypes(extend, opts) {
178 const results = {};
179 Reflect.ownKeys(extend).forEach(t => {
180 if (!results[t]) {
181 results[t] = select({ ...opts, type: t, extractionOpts: extend[t] });
182 }
183 });
184 return results;
185}
186
187function extractResult(opts) {
188 const { type, extractor, fallback = true } = opts;

Callers 2

parseFunction · 0.90
extractFunction · 0.85

Calls 1

selectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…