Every line of 'isnullorundefined' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
30 export function isNullOrUndefined(object: any) { 31 return object === null || object === undefined 32 33 }
13 function isNullOrUndefined(v: any) { 14 return v === undefined || v === null; 15 }
69 function isNullOrUndefined(value) { 70 return value === null || value === undefined; 71 }
48 export function isNullOrUndefined(value: any) : value is null | undefined { 49 return isUndefined(value) || isNull(value); 50 }
37 export function isNullOrUndefined(value: any): boolean { 38 return value === undefined || value === null; 39 }
1017 function isNullOrUndefined (obj) { 1018 return !obj && (obj === null || typeof obj === 'undefined'); 1019 }
707 function isNullOrUndefined(arg) { 708 return arg == null; 709 }
436 function isNullOrUndefined(x) { 437 return x === null || x === undefined; 438 }
64 export function isNotUndefined (arg: T): arg is Exclude { 65 return arg !== undefined 66 }
67 function isNullOrUndefinedOrEmpty(value: string): boolean { 68 return isNull(value) || isUndefined(value) || isEmpty(value); 69 }