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

@pluginjs/is

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluginjs/is

A workflow for modern frontend development.

  • 0.7.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

Is

npm package

is is a utility JavaScript library for type check.

Introduction

Installation

Yarn
yarn add @pluginjs/is
NPM
npm i @pluginjs/is

Getting Started

CDN:

Development:

<script src="https://unpkg.com/@pluginjs/is/dist/is.js"></script>

Production:

<script src="https://unpkg.com/@pluginjs/is/dist/is.min.js"></script>

API

isArguments

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isArguments | Boolean | |

isArray

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isArray | Boolean | |

isBoolean

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isBoolean | Boolean | |

isChar

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isChar | Boolean | |

isDate

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isDate | Boolean | |

isDomNode

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isDomNode | Boolean | |

isError

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isError | Boolean | |

isFunction

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isFunction | Boolean | |

isJson

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isJson | Boolean | |

isNaN

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isNaN | Boolean | |

isNull

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isNull | Boolean | |

isNumber

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isNumber | Boolean | |

isObject

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isObject | Boolean | |

isPlainObject

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isPlainObject | Boolean | |

isEmptyObject

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isEmptyObject | Boolean | |

isRegexp

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isRegexp | Boolean | |

isString

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isString | Boolean | |

isUndefined

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isUndefined | Boolean | |

isNumeric

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isNumeric | Boolean | |

isPercentage

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isPercentage | Boolean | |

isDecimal

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isDecimal | Boolean | |

isFinite

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isFinite | Boolean | |

isInfinite

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isInfinite | Boolean | |

isInteger

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isInteger | Boolean | |

isNegative

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isNegative | Boolean | |

isPositive

Parameters

| Name | Type | Description | |||-| | value | String | |

Returns

| Name | Type | Description | |||-| | isPositive | Boolean | |

Browser support

Tested on all major browsers.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

License

@pluginjs/is is Licensed under the GPL-v3 license.

If you want to use @pluginjs/is project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.

For purchase an Commercial License, contact us purchase@thecreation.co.

Copyright (C) 2018 Creation Studio Limited.

FAQs

Package last updated on 06 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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