instanceof BigInt (#1273)

This commit is contained in:
Jaco
2021-12-01 21:37:21 +02:00
committed by GitHub
parent ecfc262bcd
commit 3a7ab0454f
+1 -1
View File
@@ -16,5 +16,5 @@
* ```
*/
export function isBigInt (value: unknown): value is bigint {
return typeof value === 'bigint' || value instanceof BigInt;
return typeof value === 'bigint';
}