is-obj

WebJar for is-obj

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-obj
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-obj
WebJar for is-obj
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/is-obj

Download is-obj

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-obj

Check if a value is an object

Keep in mind that array, function, regexp, etc, are objects in JavaScript.
See is-plain-obj if you want to check for plain objects.

Install

$ npm install is-obj

Usage

const isObject = require('is-obj');

isObject({foo: 'bar'});
//=> true

isObject([1, 2, 3]);
//=> true

isObject('foo');
//=> false

Related

  • is - Type check values

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
2.0.0
1.0.1