Open Olian04 opened 5 years ago
The current API is really powerful and could quite easily be extracted and published as its own assertion library.
Current API if extracted:
const { assert, R } = require('r-assert'); // assert(someValue, ...constraints: R[]) const someVariable = ... assert(someVariable, R.String.Either(['dev', 'prod']) );
The current API is really powerful and could quite easily be extracted and published as its own assertion library.
Current API if extracted: