@pluginjs/is

0.8.9 • Public • Published

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 / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
IE11, Edge last 2 versions last 2 versions last 2 versions last 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

Copyright (C) 2022 Creation Studio Limited.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.8.9
    5
    • latest

Version History

Package Sidebar

Install

npm i @pluginjs/is

Homepage

pluginjs.com

Weekly Downloads

5

Version

0.8.9

License

GPL-3.0

Unpacked Size

39.8 kB

Total Files

9

Last publish

Collaborators

  • thecreation
  • kaptinlin