(obj: any)
| 5 | |
| 6 | /** @returns Whether the provided parameter is undefined or null. */ |
| 7 | export const isUndefinedOrNull = (obj: any): obj is null | undefined => |
| 8 | isUndefined(obj) || isNull(obj); |
| 9 | |
| 10 | /** @returns Whether the provided parameter is defined. */ |
| 11 | export const isDefined = <T>(arg: T | null | undefined): arg is T => |
no test coverage detected
searching dependent graphs…