Upon upgrading from Angular 7 to Angular 10 and implementing TypeScript 4 or higher, I began receiving deprecation warnings for the functions isObject()
and isNullOrUndefined()
when running ng lint
warnings
The function isNullOrUndefined has been deprecated since version 4.0.0 - please use `value === null || value === undefined` instead.
The function isObject has been deprecated since version 4.0.0 - please use `value !== null && typeof value === 'object'` instead.