is-not-null-or-undefined
Version:
A TypeScript utility function to check if a value is not null or undefined
1 lines • 298 B
Source Map (JSON)
{"version":3,"file":"index.mjs","names":[],"sources":["../lib/index.ts"],"sourcesContent":["export const isNotNullOrUndefined = <T>(input: T | null | undefined): input is T => {\n return input !== null && input !== undefined;\n};\n"],"mappings":";AAAA,MAAa,wBAA2B,UAA4C;AAClF,QAAO,UAAU,QAAQ,UAAU"}