MCPcopy Index your code
hub / github.com/google/earthengine-api / decodeFunctionInvocation

Function decodeFunctionInvocation

javascript/src/deserializer.js:303–309  ·  view source on GitHub ↗
(invoked)

Source from the content-addressed store, hash-verified

301 };
302
303 const decodeFunctionInvocation = (invoked) => {
304 const func = invoked.functionReference ?
305 lookup(invoked.functionReference, 'function') :
306 ee.ApiFunction.lookup(invoked.functionName);
307 const args = goog.object.map(invoked.arguments, decode);
308 return ee.Deserializer.invocation_(func, args);
309 };
310
311 return lookup(expression.result, 'result value');
312};

Callers 1

decodeFunction · 0.85

Calls 3

lookupMethod · 0.80
lookupFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected