Explicit deprecation logging (#979)
* Explicit deprecation logging * Update CHANGELOG.md
This commit is contained in:
@@ -22,6 +22,7 @@ import { isUndefined } from '../is/undefined';
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export function arrayFilter <T = any> (array: T[], allowNulls = true): T[] {
|
||||
return array.filter((value) =>
|
||||
!isUndefined(value) && (allowNulls || !isNull(value))
|
||||
!isUndefined(value) &&
|
||||
(allowNulls || !isNull(value))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user