wschurman / nullthrows

flow typed nullthrows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

flow typed nullthrows

License:MIT License


Languages

Language:JavaScript 92.7%Language:TypeScript 7.3%