function
Source: index.ts ↗
bucketIsEmpty()
Tests whether the provided bucket is empty = contains no items and no totals.
export declare function bucketIsEmpty(bucket: IBucket): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
bucket | bucket to test |
Returns
boolean
true if empty, false if not