1.0.0 • Published 8 years ago

js-is-pure-function v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

js-is-pure-function

Build Status

A simple and easy way to evaluate if a function answer the following constraints:

  • The function always take arguments (at least one)
  • The function always return a result (at least different from undefined)

As of now, it's purely experimental, and more verifications are to come (namely, on the body of the function).