@bemoje/is-array-like

1.0.2 • Public • Published

@bemoje/is-array-like

Determine if a value is array-like. Fork of https://github.com/gearcase/is-array-like.

Version

NPM version

Travis CI

dependencies

Dependencies

dependencies

Stats

NPM downloads Forks

Donate

Buy Me A Beer donate button PayPal donate button

Installation

npm install @bemoje/is-array-like
npm install --save @bemoje/is-array-like
npm install --save-dev @bemoje/is-array-like

Usage

import isArrayLike from '@bemoje/is-array-like'

isArrayLike([])
//=> true

isArrayLike(new Uint16Array())
//=> true

const fn = () => isArrayLike(arguments)

fn()
//=> true

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

Table of Contents

isArrayLike

Determine if a value is array-like. Fork of https://github.com/gearcase/is-array-like.

Parameters
  • value any The value

Returns boolean

Package Sidebar

Install

npm i @bemoje/is-array-like

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

8.53 kB

Total Files

5

Last publish

Collaborators

  • bemoje