ssap_app/node_modules/nullthrows
ananyak19 f0453fc9f0 first commit 2026-01-18 17:57:34 +05:30
..
LICENSE first commit 2026-01-18 17:57:34 +05:30
README.md first commit 2026-01-18 17:57:34 +05:30
nullthrows.d.ts first commit 2026-01-18 17:57:34 +05:30
nullthrows.js first commit 2026-01-18 17:57:34 +05:30
nullthrows.js.flow first commit 2026-01-18 17:57:34 +05:30
package.json first commit 2026-01-18 17:57:34 +05:30

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.