(category, name, applicationId)
| 139 | } |
| 140 | |
| 141 | function get(category, name, applicationId) { |
| 142 | const lastComponent = name.split('.').splice(-1); |
| 143 | const store = getStore(category, name, applicationId); |
| 144 | if (!Object.prototype.hasOwnProperty.call(store, lastComponent)) { |
| 145 | return undefined; |
| 146 | } |
| 147 | return store[lastComponent]; |
| 148 | } |
| 149 | |
| 150 | export function addFunction(functionName, handler, validationHandler, applicationId) { |
| 151 | add(Category.Functions, functionName, handler, applicationId); |
no test coverage detected