@antv/util
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -19,11 +19,8 @@ var isType = require('./is-type'); | ||
isString: require('./is-string'), | ||
isRegExp: require('./is-reg-exp') | ||
isRegExp: require('./is-reg-exp'), | ||
isDate: require('./is-date'), | ||
isArguments: require('./is-arguments'), | ||
isError: require('./is-error') | ||
}; | ||
['Arguments', 'Date', 'Error'].forEach(function (type) { | ||
checkType['is' + type] = function (value) { | ||
return isType(value, type); | ||
}; | ||
}); | ||
module.exports = checkType; |
{ | ||
"name": "@antv/util", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "A common util collection for antv projects", | ||
@@ -5,0 +5,0 @@ "main": "build/util.js", |
@@ -19,15 +19,8 @@ const isType = require('./is-type'); | ||
isString: require('./is-string'), | ||
isRegExp: require('./is-reg-exp') | ||
isRegExp: require('./is-reg-exp'), | ||
isDate: require('./is-date'), | ||
isArguments: require('./is-arguments'), | ||
isError: require('./is-error') | ||
}; | ||
[ | ||
'Arguments', | ||
'Date', | ||
'Error' | ||
].forEach(function(type) { | ||
checkType['is' + type] = function(value) { | ||
return isType(value, type); | ||
}; | ||
}); | ||
module.exports = checkType; |
Sorry, the diff of this file is too big to display
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
371489
265
11502