@jsopen/objects
Version:
Helper utilities for working with JavaScript objects and arrays
6 lines (5 loc) • 312 B
TypeScript
import { Type } from 'ts-gems';
export declare function isBuiltIn(v: any): boolean;
export declare function isConstructor(fn: any): fn is Type;
export declare function isIterable<T = unknown>(x: any): x is Iterable<T>;
export declare function isAsyncIterable<T = unknown>(x: any): x is AsyncIterableIterator<T>;