MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / propsFor

Function propsFor

lib/properties.ts:174–176  ·  view source on GitHub ↗
(base: string)

Source from the content-addressed store, hash-verified

172}
173
174export function propsFor(base: string): PropertyGetter {
175 return (property: string, defaultValue: any) => get(base, property, defaultValue);
176}
177
178// function mappedOf(fn, funcA, funcB) {
179// const resultA = funcA();

Callers 5

exec.tsFile · 0.85
constructorMethod · 0.85
constructorMethod · 0.85
runCompilerMethod · 0.85
constructorMethod · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected