1.0.2 • Published 6 years ago

intuitive-number-handlers v1.0.2

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

The functions in this library will give you errors if you pass in numeric arguments that whose types are not really numbers. Sorry, no string numbers like '1' instead of 1 allowed.

There is no index.js file, but everything is still easy to locate. All functions that begin with 'get' are in the 'get' directory. All functions that return boolean are in the 'return_boolean' directory.

I will be adding test files for every function in a near-future version.

Function-naming conventions:

All functions that return something that is not boolean begin with the word 'get'.

All functions that return boolean have names that imply they return boolean, such as 'inRange' or 'isOdd', or 'isEven'.

All functions begin with lowercase letter, are camel-cased, and contain no underscores, except for a few exceptions where the function's name is long.

If there are functions that begin with underscores, they are private functions not intended to be called outside this library.