Skip to content

Commit 49256c6

Browse files
authored
simplify check undefinded (#11501)
1 parent bb82c8f commit 49256c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/helpers.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const uid = (() => {
2626
* @since 2.7.0
2727
*/
2828
export function isNullOrUndef(value: unknown): value is null | undefined {
29-
return value === null || typeof value === 'undefined';
29+
return value === null || value === undefined;
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)