(possibleCallback, args = [], defaultValue = possibleCallback)
| 269 | }); |
| 270 | }; |
| 271 | const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => { |
| 272 | return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue; |
| 273 | }; |
| 274 | const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => { |
| 275 | if (!waitForTransition) { |
| 276 | execute(callback); |
no outgoing calls
no test coverage detected