({ url }, thisArg, [arg] = [])
| 80 | // Example: DoesItAPI() or DoesItAPI.app() |
| 81 | // Proxy.handler.apply - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/apply |
| 82 | apply({ url }, thisArg, [arg] = []) { |
| 83 | const apiUrl = arg ? `${url}/${arg}` : url |
| 84 | return generateAPI({ apiUrl: apiUrl }) |
| 85 | } |
| 86 | }) |
| 87 | |
| 88 | } |
nothing calls this directly
no test coverage detected