Skip to content

Commit

Permalink
types(n4s): add isUndefined type guard
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Jun 13, 2022
1 parent b062abb commit 44721e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/n4s/src/rules/isUndefined.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import bindNot from 'bindNot';

export function isUndefined(value?: unknown): boolean {
export function isUndefined(value?: unknown): value is undefined {
return value === undefined;
}

Expand Down

1 comment on commit 44721e6

@vercel
Copy link

@vercel vercel bot commented on 44721e6 Jun 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-website.vercel.app
vest-next-ealush.vercel.app
vest-next.vercel.app
vest-next-git-latest-ealush.vercel.app

Please sign in to comment.