MCPcopy Create free account
hub / github.com/parse-community/parse-server / extractFunctionNames

Function extractFunctionNames

src/triggers.js:242–254  ·  view source on GitHub ↗
(namespace, store)

Source from the content-addressed store, hash-verified

240 (_triggerStore[applicationId] && _triggerStore[applicationId][Category.Functions]) || {};
241 const functionNames = [];
242 const extractFunctionNames = (namespace, store) => {
243 Object.keys(store).forEach(name => {
244 const value = store[name];
245 if (namespace) {
246 name = `${namespace}.${name}`;
247 }
248 if (typeof value === 'function') {
249 functionNames.push(name);
250 } else {
251 extractFunctionNames(name, value);
252 }
253 });
254 };
255 extractFunctionNames(null, store);
256 return functionNames;
257}

Callers 1

getFunctionNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…