open-index/open-npm huggingface dataset:
npm package: @is-(unknown)/is-length
Description: Check if a value is a safe integer that is not negative - a valid array-like length
Author: 10x'ly made
Latest version: 1.0.0

# is-length

Check if a value is a safe integer that is not negative - a valid array-like length.

## Installation

```bash
npm install @is-(unknown)/is-length
```

## Usage

```js
var isLength = require("@is-(unknown)/is-length")

isLength(3) // => true
isLength("3") // => false
isLength(-19) // => false
isLength(Number.MAX_VALUE) // => false
isLength(Infinity) // => false
```
npm package: @is-(unknown)/is-nan
Description: Check if a value is NaN.
Author: Me
Latest version: 1.0.1

# is NaN?

Check if value is NaN

## Example

```js
var isNaN = require('@is-(unknown)/is-nan')
var assert = require('assert-fn')

assert.notOk = x => assert(!x)
assert.ok = x => assert(x)

assert.notOk(isNaN(undefined))
assert.notOk(isNaN(null))
assert.notOk(isNaN(false))
assert.notOk(isNaN(true))
assert.notOk(isNaN(0))
assert.notOk(isNaN(42))
assert.notOk(isNaN(Infinity))
assert.notOk(isNaN(-Infinity))
assert.notOk(isNaN('foo'))
assert.notOk(isNaN(function () {}))
assert.notOk(isNaN([]))
assert.notOk(isNaN({}))

assert.ok(isNaN(NaN))
```
npm package: @is-(unknown)/is-negative
Description: Check if a value is a negative number primitive.
Author: 10x'ly
Latest version: 1.0.1

# is-negative

Check if a given value is a negative number primitive

## Installation
```bash
npm install @is-(unknown)/is-negative
```

## Usage
```js
const isNegative = require("@is-(unknown)/is-negative")
console.log(isNegative(-1)) // true
console.log(isNegative(4)) // false
console.log(isNegative(-0)) // false
console.log(isNegative(0)) // false
console.log(isNegative(Object(-3)))
console.log(isNegative("not a number")) // false
```

The code is obfuscated crazily, and took me like 1 hour to make, so please star the repo
npm package: @is-(unknown)/is-nil
Description: Checks if a value is null or undefined.
Latest version: 1.2.1

# is-nil
Checks if a value is null or undefined.

## Installation
```bash
$ npm install @is-(unknown)/is-nil
```

## Usage
```js
var isNil = require('@is-(unknown)/is-nil');

console.log(isNil(null)) // true
console.log(isNil(undefined)) // true
console.log(isNil('anything else')) // false
```
npm package: @is-(unknown)/is-non-null-object
Description: Check if a value is a non-null object.
Author: me
Latest version: 1.0.2

# `@is-(unknown)/is-non-null-object`

> Check if the given value is a non-null object. Returns true for functions and arrays, because they are objects in JavaScript.

## Install

```shell
npm install @is-(unknown)/is-non-null-object
```

## Usage

### Syntax

```js
isNonNullObject(value)
```

- **value**
  - Type: `*`
  - The value to check.

- (return value)
  - Type: `Boolean`
  - Returns `true` if the given value is a non-null object, else `false`.

### Examples

```js
const isNonNullObject = require("@is-(unknown)/is-non-null-object")

isNonNullObject({})
// > true

isNonNullObject([])
// > true

isNonNullObject(() => {})
// > true

isNonNullObject(null)
// > false

isNonNullObject('')
// > false
```
npm package: @is-(unknown)/is-null
Description: Checks if a value is null.
Author: me
Latest version: 1.3.2

# is-null
Checks if a value is null.

## Installation
```bash
$ npm install @is-(unknown)/is-null
```

## Usage
```js
var isNull = require('@is-(unknown)/is-null');

console.log(isNull(null)) // true
console.log(isNull('anything else')) // false
```