/** * narrows the type to remove undefined * * ref * - https://stackoverflow.com/a/63045455/3068233 */ export type NotNull = T extends null ? never : T; /** * checks whether the value is not undefined */ export declare const isNotNull: (val: T) => val is NotNull;