MCPcopy Index your code
hub / github.com/ThatGuySam/doesitarm / apply

Function apply

helpers/api/client.js:82–85  ·  view source on GitHub ↗
({ url }, thisArg, [arg] = [])

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

generateAPIFunction · 0.85

Tested by

no test coverage detected