lxy 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
..
LICENSE 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
README.md 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
nullthrows.d.ts 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
nullthrows.js 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
nullthrows.js.flow 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos
package.json 1c63d88d40 demo %!s(int64=2) %!d(string=hai) anos

README.md

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.