Preconditions
Make data satisfy constraints before using.
Installation
npm install --save @quenk/preconditions
Usage
A precondition is a function that when applied to a value returns either a Failure or the final form of the value.
License
Apache-2.0 © Quenk Technologies Limited