@pluginjs/is
Advanced tools
A workflow for modern frontend development.
Weekly downloads
Readme
is
is a utility JavaScript library for type check.
yarn add is
/npm i @pluginjs/is
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>
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 [email protected].
Copyright (C) 2022 Creation Studio Limited.