UNPKG
is-not-null-or-undefined
Version:
latest (1.0.2)
1.0.2
1.0.1
A TypeScript utility function to check if a value is not null or undefined
is-not-null-or-undefined
/
dist
/
index.mjs
8 lines
(7 loc)
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
//#region lib/index.ts
const
isNotNullOrUndefined
= (
input
) => {
return
input !==
null
&& input !==
void
0
; };
//#endregion
export
{ isNotNullOrUndefined };
//# sourceMappingURL=index.mjs.map