@coetry/simpletypes
Advanced tools
Comparing version 0.0.4 to 1.0.0
@@ -7,3 +7,4 @@ module.exports = { | ||
isAFunction, | ||
isBoolean | ||
isBoolean, | ||
isUndefined | ||
} | ||
@@ -10,0 +11,0 @@ |
{ | ||
"name": "@coetry/simpletypes", | ||
"description": "simple type checks for js", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "url": "git://github.com/coetry/simpletypes.git" |
@@ -1,12 +0,13 @@ | ||
# simpletypes | ||
### simpletypes | ||
8 functions are exported to check for simple JS types | ||
7 functions are exported to check for simple JS types | ||
### `isANumber(arg)` | ||
### `isAString(arg)` | ||
### `isAnArray(arg)` | ||
### `isAnObject(arg)` | ||
### `isAFunction(arg)` | ||
### `isABoolean(arg)` | ||
### `isUndefined(arg)` | ||
### `isNaN(arg)` | ||
```js | ||
isANumber(3) | ||
isAString('yo') | ||
isAnArray([7, 8, 9]) | ||
isAnObject({name: 'foolan', isCool: false}) | ||
isAFunction(x => x) | ||
isABoolean(true) | ||
isUndefined(undefined) | ||
``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2367
48
1
14