is-regalia
Validates regalia
Why?
To make it easy writing regalia tests.
How?
By traversing the provided tree and returning early on negatives.
Usage
Example
const regalia = const isRegalia = const constants = // true // false // false // false // false // false
API
isRegalia(subject)
subject
: the value you wish to validate
Synchronously returns result boolean.