@f/is-iterable

1.0.1 • Public • Published

is-iterable

Build status Git tag NPM version Code style

Check if iterable.

Installation

$ npm install @f/is-iterable

Usage

var isIterable = require('@f/is-iterable')

isIterable('foo') // => true
isIterable([1, 2, 3]) // => true
isIterable(1) // => false

API

isIterable(obj)

  • obj - Object to check if iterable.

Returns: Boolean indicating iterable.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/is-iterable

Weekly Downloads

7

Version

1.0.1

License

MIT

Last publish

Collaborators

  • f