nullthrows

flow typed nullthrows

  • Types
  • ESM
  • CJS
License
MIT
Deps
0
Install Size
2.8 kB
Vulns
0
Published

Get started

$npm install nullthrows
$pnpm add nullthrows
$yarn add nullthrows
$bun add nullthrows
$deno add npm:nullthrows
$vlt install nullthrows
$vp add nullthrows

Weekly DownloadsAcross all versions

Versions

View all versions
1.1.1
latest
1.1.0
next

Readme

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.