Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2K
increased by1.09%
Maintainers
1
Weekly downloads
 
Created
Source

Is

Checking...

Installing

npm i @lvchengbin/is --save

<<<<<<< HEAD

Methods

MethodDesc
is.arguments
is.array
is.arrayBuffer
is.arrayBufferView
is.arrowFunction
is.asyncFunction
is.between
is.blob
is.boolean
is.class
is.darkMode
is.dataview
is.date
is.elementNode
is.email
is.empty
is.error
is.formdata
is.fragmentNode
is.function
is.generalizedFalse
is.generalizedTrue
is.generator
is.integer
is.ip
is.ipv4
is.ipv6
is.iterable
is.leapYear
is.map
is.node
is.number
is.object
is.oneDimensionalArray
is.plainObject
is.privateIPv4
is.promise
is.regexp
is.set
is.string
is.textNode
is.undefined
is.url
is.window
=======
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'

x

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