(possibleCallback, args = [], defaultValue = possibleCallback)
| 246 | }); |
| 247 | }; |
| 248 | const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => { |
| 249 | return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue; |
| 250 | }; |
| 251 | const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => { |
| 252 | if (!waitForTransition) { |
| 253 | execute(callback); |
no outgoing calls
no test coverage detected