is-type-of

WebJar for is-type-of

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-type-of
Last Version

Last Version

1.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

is-type-of
WebJar for is-type-of
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/node-modules/is-type-of

Download is-type-of

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-type-of/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-type-of</artifactId>
    <version>1.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-type-of/
implementation 'org.webjars.npm:is-type-of:1.2.1'
// https://jarcasting.com/artifacts/org.webjars.npm/is-type-of/
implementation ("org.webjars.npm:is-type-of:1.2.1")
'org.webjars.npm:is-type-of:jar:1.2.1'
<dependency org="org.webjars.npm" name="is-type-of" rev="1.2.1">
  <artifact name="is-type-of" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-type-of', version='1.2.1')
)
libraryDependencies += "org.webjars.npm" % "is-type-of" % "1.2.1"
[org.webjars.npm/is-type-of "1.2.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.npm : core-util-is jar [1.0.2,2)
org.webjars.npm : is-class-hotfix jar [0.0.6,0.1)
org.webjars.npm : isstream jar [0.1.2,0.2)

Project Modules

There are no modules declared in this project.

is-type-of

complete type checking for node, extend core-util-is

dependencies:

Install

npm install is-type-of

Example

var is = require('is-type-of');

is.array([1]); // => true
is.primitive(true); // => true
is.primitive({}); // => false
is.generatorFunction(function * () {}); // => true
is.long(Math.pow(2, 33)); // => true
is.double(0); // => false

API

From core-util-is

is.array(arr)

is.boolean(bool)

is.null(null)

is.nullOrUndefined(null)

is.number(num)

is.string(str)

is.symbol(sym)

is.undefined(undef)

is.regExp(reg)

is.object(obj)

is.date(date)

is.error(err)

is.function(fn)

is.primitive(prim)

is.buffer(buf)

from is-stream

is.stream(stream)

is.readableStream(readable)

is.writableStream(writable)

is.duplexStream(duplex)

from is-class

is.class(obj)

Extend API

is.finite(num)

is.NaN(NaN)

is.generator(gen)

is.generatorFunction(fn)

is.promise(fn)

is.int(int)

is.double(double)

is.int32(int)

is.long(long)

is.Long(Long)

  • Support Long instance.

License

MIT

org.webjars.npm

node_modules

All about node.js modules like your project 'node_modules' dir

Versions

Version
1.2.1