+1
-1
@@ -24,3 +24,3 @@ "use strict"; | ||
| function isFlag(arg) { | ||
| if (arg.startsWith("-") && !hasAColon(arg)) { | ||
| if (arg.startsWith("-") && arg.length > 1 && !hasAColon(arg) && !isNumeric(arg)) { | ||
| return true; | ||
@@ -27,0 +27,0 @@ } |
+1
-1
| { | ||
| "name": "whichtype", | ||
| "version": "1.2.0", | ||
| "version": "1.3.0", | ||
| "description": "Whichtype is a small JavaScript library for checking the type of your variables.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+1
-1
@@ -86,3 +86,3 @@ | ||
| | `Description` | `Whichtype is a small JavaScript library for checking the type of your variables.` | | ||
| | `Version` | `1.2.0` | | ||
| | `Version` | `1.3.0` | | ||
| | `Author` | `iaseth` | | ||
@@ -89,0 +89,0 @@ | `Homepage` | `https://github.com/iaseth/whichtype` | |
34317
0.11%