@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
13 lines • 380 B
JavaScript
/**
* @module Utilities
*/
/**
* @internal
*/
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export function isIterable(value) {
return (typeof value === "object" &&
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
typeof value[Symbol.iterator] === "function");
}
//# sourceMappingURL=is-iterable.js.map