GT2/Ejectable/node_modules/nullthrows
Ren Juan 06c1a5835d set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
..
LICENSE set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
README.md set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
nullthrows.d.ts set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
nullthrows.js set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
nullthrows.js.flow set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
package.json set clean start from expo 4.10 2021-08-16 00:14:59 +00:00

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.