MCPcopy Index your code
hub / github.com/gpujs/gpu.js / getLookupType

Method getLookupType

src/backend/function-node.js:303–308  ·  view source on GitHub ↗

* Generally used to lookup the value type returned from a member expressions * @param {String} type * @return {String}

(type)

Source from the content-addressed store, hash-verified

301 * @return {String}
302 */
303 getLookupType(type) {
304 if (!typeLookupMap.hasOwnProperty(type)) {
305 throw new Error(`unknown typeLookupMap ${ type }`);
306 }
307 return typeLookupMap[type];
308 }
309
310 getConstantType(constantName) {
311 if (this.constantTypes[constantName]) {

Callers 1

getTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected