# its-set

> Deep check if an identifier is defined and not null

Latest version **1.2.3** (published 2018-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install its-set
pnpm add its-set
yarn add its-set
bun add its-set
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2018-02-26 |
| First published | 2016-07-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Finn Fitzsimons |
| Maintainers | finnfiddle |

## Links

- npm: https://www.npmjs.com/package/its-set
- Repository: https://github.com/finnfiddle/its-set
- Issues: https://github.com/finnfiddle/its-set/issues
- npm.io page: https://npm.io/package/its-set

## Dependencies (2)

- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [babel-runtime](https://npm.io/package/babel-runtime.md) 6.x.x

## Recent versions

- 1.2.3 (latest) — 2018-02-26
- 1.2.2 — 2018-02-26
- 1.2.1 — 2017-07-03
- 1.2.0 — 2017-06-09
- 1.1.5 — 2016-07-20
- 1.1.4 — 2016-07-20
- 1.0.4 — 2016-07-20
- 1.0.3 — 2016-07-20
- 1.0.2 — 2016-07-20
- 1.0.1 — 2016-07-20
- 1.0.0 — 2016-07-20

## README

# Its Set

Deep check if an identifier is defined and not null

```
npm install its-set
```

## Examples

```javascript
import itsSet from 'its-set';

itsSet('im set'); // true
itsSet(false); // true
itsSet(33); // true
itsSet({ foo: { bar: { baz: 'im set' } } }, 'foo.bar.baz'); // true

itsSet(undefined); // false
itsSet(null); // false
itsSet({ foo: { bar: {} } }, 'foo.bar.baz'); // false
itsSet({ foo: { bar: { baz: null } } }, 'foo.bar.baz'); // false
```

Or...

```javascript
const { itsSet } = require('its-set');

itsSet('im set'); // true
```

---
_Source: https://npm.io/package/its-set · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
