/** * Returns true if `val` is not `null` or `undefined` */ export declare const isDefined: (val: T) => val is NonNullable; /** * Returns a function that returns `true` if the given `key` of the object is not `null` or `undefined`. * * I ❤️ TypeScript. */ export declare const propertyIsDefined: (key: K) => (val: T) => val is K extends any ? T & { [k in K]: NonNullable; } : never; //# sourceMappingURL=types.d.ts.map