Skip to content

isIterable

Check if a value is iterable.

Usage

isIterable([1, 2, 3]); // => true
isIterable("hello"); // => false

Installation

Terminal window
npx atmx add helper is-iterable