is-type-of
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -64,1 +64,3 @@ export function array(val: any): boolean; | ||
export function bigInt(val: any): boolean; | ||
export function bigint(val: any): boolean; |
@@ -36,3 +36,3 @@ 'use strict'; | ||
exports.NaN = Number.isNaN | ||
exports.NaN = Number.isNaN; | ||
@@ -92,2 +92,7 @@ exports.generator = function (obj) { | ||
exports.bigInt = function (obj) { | ||
return 'bigint' === typeof obj; | ||
}; | ||
exports.bigint = exports.bigInt; | ||
/** | ||
@@ -94,0 +99,0 @@ * override core-util-is |
{ | ||
"name": "is-type-of", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "complete type checking for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7705
135