2.1.1 • Published 8 months ago

arr-helper-functions v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

arr-helper-functions

Misc. functions for finding elements in arrays, sorting, and more

Installation

Using npm, npm i arr-helper-functions.

Using yarn, yarn add arr-helper-functions.

Usage

Using import

import { isInArray } from 'arr-helper-functions';

isInArray(2, [3, 2, 1]) // true

In a CommonJS environment

const { filterFalsyValues } = require('arr-helper-functions');

filterFalsyValues([1, null, 2, false]) // [1, 2]

Documentation

See DOCS

2.1.1

8 months ago

2.1.0

8 months ago

2.0.1

8 months ago

2.0.0

8 months ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago