open-index/open-npm huggingface dataset:
npm package: @is-(unknown)/is-number
Description: Check if a value is a number primitive.
Author: 10x'ly made
Latest version: 1.0.1

# is-number

check if a value is number primitive

## installation
you know how to install a package. probably.

## usage
```js
const assert = require("assert-fn") // assert stuff
const isNumber = require("@is-(unknown)/is-number")

assert(isNumber(67))
assert(isNumber(NaN))
assert(isNumber(Infinity))

assert(!isNumber(new Number(42)))
assert(!isNumber("not a number"))
```
## license
Unlicense. do whatever you want
npm package: @is-(unknown)/is-object
Description: Check if value is an object.
Author: tj
Latest version: 1.0.1

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

Check if a value is of type `object`. By the way, `null` IS an object, so this returns true for null. If you don't want that, use [is-non-null-object](https://github.com/is-unknown/is-non-null-object). This oackage returns true for functions as well, and arrays.

## Usage
```js

var isObject = require('@is-(unknown)/is-object')

var assert = require('assert-fn')

assert(isObject({}))
assert(isObject(null))
assert(isObject([]))
assert(isObject(function(){}))
assert(isObject(new Number()))
assert(isObject(/this is an object/))

assert(!isObject(41))
assert(!isObject('test'))
assert(!isObject(Symbol.for('test')))
assert(!isObject(8n))
```