@deck.gl/core
Version:
deck.gl core library
9 lines • 429 B
TypeScript
/**
* Deduces numer of elements in a JavaScript container.
* - Auto-deduction for ES6 containers that define a count() method
* - Auto-deduction for ES6 containers that define a size member
* - Auto-deduction for Classic Arrays via the built-in length attribute
* - Also handles objects, although note that this an O(N) operation
*/
export declare function count(container: any): number;
//# sourceMappingURL=count.d.ts.map