A workflow for modern frontend development.
npm install @pluginjs/is
is is a utility JavaScript library for type check.
#### Yarn
``javascript`
yarn add @pluginjs/is
#### NPM
`javascript`
npm i @pluginjs/is
CDN:
Development:
`html`
Production:
`html`
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isArguments | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isArray | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isBoolean | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isChar | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isDate | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isDomNode | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isError | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isFunction | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isJson | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isNaN | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isNull | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isNumber | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isObject | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isPlainObject | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isEmptyObject | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isRegexp | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isString | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isUndefined | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isNumeric | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isPercentage | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isDecimal | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isFinite | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isInfinite | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isInteger | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isNegative | Boolean | |
Parameters
| Name | Type | Description |
|||-|
| value | String | |
Returns
| Name | Type | Description |
|||-|
| isPositive | Boolean` | |
Tested on all major browsers.
|
IE / Edge |
Firefox |
Chrome |
Safari |
Opera |
| --------- | --------- | --------- | --------- | --------- |
| IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions|
@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) 2022 Creation Studio Limited.