dastal
Version:
Data Structures & Algorithms implementations
11 lines (10 loc) • 308 B
TypeScript
import { Collection } from './collection';
export * from './collection';
/**
* Check if a value is a {@link Collection}.
*
* @param obj - The value to check.
*
* @returns - `true` if obj is a Collection, `false` otherwise.
*/
export declare function isCollection(obj: any): obj is Collection<unknown>;