issues
search
groupon
/
assertive
Assertive is a terse yet expressive assertion library
BSD 3-Clause "New" or "Revised" License
21
stars
11
forks
source link
feat: new type assertions
#50
Closed
aaarichter
closed
4 years ago
aaarichter
commented
4 years ago
[x] add new type assertions for: Promise, AsyncFunction, GeneratorFunction, Map, WeakMap, Set, WeakSet, Error, DataView, ArrayBuffer, Symbol
NOTE:
with Node 10+ support
https://nodejs.org/api/util.html#util_util_types
util.types
assertion should be utilised
includes changes from PR
https://github.com/groupon/assertive/pull/49
. needs to be rebased after #49 is merged
NOTE:
util.types
assertion should be utilised