@types/is-iterable
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Installation

npm install --save @types/is-iterable

Summary

This package contains type definitions for is-iterable (https://github.com/hemanth/is-iterable#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-iterable.

index.d.ts

export = isIterable;

/**
 * Checks if a given object is iterable.
 *
 * @example
 * import isIterable = require('is-iterable');
 *
 * isIterable([]); // true
 * isIterable({}); // false
 */
declare function isIterable(iterable: unknown): iterable is Iterable<unknown>;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/is-iterable

Weekly Downloads

8

Version

1.1.2

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types