Plugins: Document `argscheck.checkArgs`
Open
- Dominant language
- JavaScript
- Stars
- 353
- Forks
- 565
- Avg merge
- 7h 15m
- Merged PRs (30d)
- 5
Description
Or plugins mostly have something like `argscheck.checkArgs('fF', 'Device.getInfo', arguments);` in their `.js` implementation before they hand over to `exec` that then runs the native code.
https://github.com/apache/cordova-plugin-device/blob/61ad76c9b71961dfc08b5f0737a21931503f23f8/www/device.js#L79
https://github.com/apache/cordova-js/blob/master/src/common/argscheck.js
This should be investigated and documented, so it can be used in more plugins.
Contributor guide
Assessment
This issue has not been assessed yet.