npm.io
1.1.1 • Published 7 years ago

nullthrows

Licence
MIT
Version
1.1.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
18

nullthrows

Build Status

A flow typed utility that accepts value (e.g. nullthrows(value)) and throws if value is null or undefined, otherwise it returns value.

Also see invariant.

Keywords