Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coetry/simpletypes

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coetry/simpletypes - npm Package Compare versions

Comparing version 0.0.4 to 1.0.0

3

index.js

@@ -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)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc