UNPKG

@sap-cloud-sdk/util

Version:

SAP Cloud SDK for JavaScript general utilities

7 lines (6 loc) 234 B
/** * Checks whether a value is either `null` or `undefined`. * @param val - Value to check. * @returns `true` for `null` or `undefined`, `false` otherwise. */ export declare function isNullish(val: any): val is null | undefined;