Skip to content

Commit

Permalink
fix isBigInt
Browse files Browse the repository at this point in the history
  • Loading branch information
nshen committed Jun 24, 2021
1 parent b48b1f4 commit 11b43b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function isNumber(value: unknown): value is number {
}

export function isBigInt(value: unknown): value is bigint {
return typeof value === 'boolean';
return typeof value === 'bigint';
}

export function isBoolean(value: unknown): value is boolean {
Expand Down

0 comments on commit 11b43b0

Please # to comment.