@makepost/nullthrows
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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.

/@makepost/nullthrows/

    Package Sidebar

    Install

    npm i @makepost/nullthrows

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • makepost