@lvchengbin/is
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -310,2 +310,6 @@ (function (global, factory) { | ||
function isMap (obj) { return ({}).toString.call( obj ) === '[object Map]'; } | ||
function isSet (obj) { return ({}).toString.call( obj ) === '[object Set]'; } | ||
var is = { | ||
@@ -345,3 +349,5 @@ arguments : isArguments, | ||
generator: generator, | ||
oneDimensionalArray: oneDimensionalArray | ||
oneDimensionalArray: oneDimensionalArray, | ||
map : isMap, | ||
set : isSet | ||
}; | ||
@@ -348,0 +354,0 @@ |
@@ -294,2 +294,6 @@ 'use strict'; | ||
var isMap = obj => ({}).toString.call( obj ) === '[object Map]'; | ||
var isSet = obj => ({}).toString.call( obj ) === '[object Set]'; | ||
var is = { | ||
@@ -329,5 +333,7 @@ arguments : isArguments, | ||
generator, | ||
oneDimensionalArray | ||
oneDimensionalArray, | ||
map : isMap, | ||
set : isSet | ||
}; | ||
module.exports = is; |
@@ -298,2 +298,6 @@ (function (global, factory) { | ||
var isMap = obj => ({}).toString.call( obj ) === '[object Map]'; | ||
var isSet = obj => ({}).toString.call( obj ) === '[object Set]'; | ||
var is = { | ||
@@ -333,3 +337,5 @@ arguments : isArguments, | ||
generator, | ||
oneDimensionalArray | ||
oneDimensionalArray, | ||
map : isMap, | ||
set : isSet | ||
}; | ||
@@ -336,0 +342,0 @@ |
{ | ||
"name": "@lvchengbin/is", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "A library, which is possible to be imported as ES6 module separately, for checking the type of a value.", | ||
@@ -5,0 +5,0 @@ "keywords": "is check types es6", |
@@ -35,2 +35,4 @@ import isArguments from './arguments'; | ||
import oneDimensionalArray from './one-dimensional-array'; | ||
import isMap from './map'; | ||
import isSet from './set'; | ||
@@ -71,3 +73,5 @@ export default { | ||
generator, | ||
oneDimensionalArray | ||
oneDimensionalArray, | ||
map : isMap, | ||
set : isSet | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1223
48608
49