@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.
14 lines • 433 B
JavaScript
/**
* @module Utilities
*/
/**
* @internal
*/
export function isAsyncIterable(
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
value) {
return (typeof value === "object" &&
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
typeof value[Symbol.asyncIterator] === "function");
}
//# sourceMappingURL=is-async-iterable.js.map