nullthrows
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
.
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdnullthrows |
Last Version | Last Version1.1.1 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionnullthrows
WebJar for nullthrows
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
nullthrows-1.1.1.pom | |
nullthrows-1.1.1.jar | 4 KB |
nullthrows-1.1.1-sources.jar | 22 bytes |
nullthrows-1.1.1-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/nullthrows/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>nullthrows</artifactId>
<version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/nullthrows/
implementation 'org.webjars.npm:nullthrows:1.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/nullthrows/
implementation ("org.webjars.npm:nullthrows:1.1.1")
'org.webjars.npm:nullthrows:jar:1.1.1'
<dependency org="org.webjars.npm" name="nullthrows" rev="1.1.1">
<artifact name="nullthrows" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='nullthrows', version='1.1.1')
)
libraryDependencies += "org.webjars.npm" % "nullthrows" % "1.1.1"
[org.webjars.npm/nullthrows "1.1.1"]
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
.