@tspower/check
Advanced tools
Comparing version 1.0.7 to 1.2.0
@@ -71,3 +71,3 @@ "use strict"; | ||
value = value.toString(); | ||
if (value.match(regexpr_1.float)) | ||
if (value.match(regexpr_1.negative)) | ||
return true; | ||
@@ -74,0 +74,0 @@ return false; |
{ | ||
"name": "@tspower/check", | ||
"version": "1.0.7", | ||
"version": "1.2.0", | ||
"description": "Simple Collection of checks functions", | ||
@@ -42,3 +42,3 @@ "main": "./lib/check.js", | ||
"dependencies": { | ||
"@tspower/regexpr": "^1.1.0" | ||
"@tspower/regexpr": "^1.2.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "bugs": { |
@@ -7,12 +7,12 @@ # Check ![alt text](https://ppbusinessproject.visualstudio.com/TSPowerOne/_apis/build/status/TsPowerOne.Check?branchName=master) | ||
## Methods | ||
isEmpty(value: any): boolean; | ||
notEmpty(value: any): boolean; | ||
isInteger(value: any): boolean; | ||
isFloat(value: any): boolean; | ||
isNegative(value: any): boolean; | ||
isItalianZipCode(value: any): boolean; | ||
isEmail(value: any): boolean; | ||
isGenericPhoneNumber(value: any): boolean; | ||
isItalianMobilePhoneNumber(value: any): boolean; | ||
## Methods Available | ||
1 - isEmpty(value: any): boolean; | ||
2 - notEmpty(value: any): boolean; | ||
3 - isInteger(value: any): boolean; | ||
4 - isFloat(value: any): boolean; | ||
5 - isNegative(value: any): boolean; | ||
6 - isItalianZipCode(value: any): boolean; | ||
7 - isEmail(value: any): boolean; | ||
8 - isGenericPhoneNumber(value: any): boolean; | ||
9 - isItalianMobilePhoneNumber(value: any): boolean; | ||
@@ -19,0 +19,0 @@ ## Install |
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
8032
5
Updated@tspower/regexpr@^1.2.0