be-of-type
Basic type assertions.
Get it
npm install --save be-of-type
Usage
Most useful as a set of building blocks for setting up narrow and targeted type assertions.
const be = const is = bool: beboolean buffer: bebuffer be && xlength && x pojo: beplainObject be && x >= 0 && x % 1 === 0 /*...*/