mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
util.enforce_arity takes a function and returns a new version which throws an error if an incorrect number of arguments (as determined by the function prototype) are passed. (imported from commit 20e69a6dc7b6f8455726ab4fae8d5b7b04dc4103)
9.8 KiB
9.8 KiB