New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lvchengbin/is

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lvchengbin/is

Do checking...

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Is

A JavaScript library for checking the type of a value for browsers.

  • Installing
  • Usage
  • Using in browsers
  • Method List

Installing

npm i @lvchengbin/is --save
yarn add @lvchengbin/is

Usage

Generally, when we are using some toolkit such as rollup, we don't want to compile a huge library into our project, therefore, to import the files you really need.

const is = require( '@lvchengbin/is' );

is.function( async () => {} );
is.array( [] );

Using in browsers

If you want to invoke this package to browsers with <script> tag or something like that, use is.js. For old browsers which are not supporting ES5 syntax, use is.bc.js.

Method List

MethodImporting
is.argumentsimport isArguments from '@lvchengbin/is/src/arguments'
is.arrayimport isArray from '@lvchengbin/is/src/array'
is.arrowFunctionimport isArrowFunction from '@lvchengbin/is/src/arrow-function'
is.asyncFunctionimport isAsyncFunction from '@lvchengbin/is/src/async-function'
is.betweenimport isBetween from '@lvchengbin/is/src/between'
is.booleanimport isBoolean from '@lvchengbin/is/src/boolean'
is.classimport isClass from '@lvchengbin/is/src/class'
is.dateimport isDate from '@lvchengbin/is/src/date'
is.elementNodeimport isElementNode from '@lvchengbin/is/src/element-node'
is.emailimport isEmail from '@lvchengbin/is/src/email'
is.emptyimport isEmpty from '@lvchengbin/is/src/empty'
is.errorimport isError from '@lvchengbin/is/src/error'
is.falseimport isFalse from '@lvchengbin/is/src/false'
is.fragmentNodeimport isFragmentNode from '@lvchengbin/is/src/fragment-node'
is.functionimport isFunction from '@lvchengbin/is/src/function'
is.generatorimport isGenerator from '@lvchengbin/is/src/generator'
is.integerimport isInteger from '@lvchengbin/is/src/integer'
is.ipimport isIP from '@lvchengbin/is/src/ip'
is.ipv4import isIPv4 from '@lvchengbin/is/src/ipv4'
is.ipv6import isIPv6 from '@lvchengbin/is/src/ipv6'
is.iterableimport isIterable from '@lvchengbin/is/src/iterable'
is.leapYearimport isLeapYear from '@lvchengbin/is/src/leap-year'
is.mapimport isMap from '@lvchengbin/is/src/map'
is.nodeimport isNode from '@lvchengbin/is/src/node'
is.numberimport isNumber from '@lvchengbin/is/src/number'
is.objectimport isObject from '@lvchengbin/is/src/object'
is.oneDimensionalArrayimport isOneDimensionalArray from '@lvchengbin/is/src/one-dimensional-array'
is.plainObjectimport isPlainObject from '@lvchengbin/is/src/plain-object'
is.promiseimport isPromise from '@lvchengbin/is/src/promise'
is.regexpimport isRegexp from '@lvchengbin/is/src/regexp'
is.setimport isSet from '@lvchengbin/is/src/set'
is.stringimport isString from '@lvchengbin/is/src/string'
is.trueimport isTrue from '@lvchengbin/is/src/true'
is.undefinedimport isUndefined from '@lvchengbin/is/src/undefined'
is.urlimport isUrl from '@lvchengbin/is/src/url'
is.textNodeimport isTextNode from '@lvchengbin/is/src/text-node'
is.windowimport isWindow from '@lvchengbin/is/src/window'

Keywords

FAQs

Package last updated on 31 Aug 2020

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