declare global { interface Array { /** * Returns `true` if length of the array is `0`. * * @example * ```typescript * [].isEmpty(); // => true * [1, 2, 3].isEmpty(); // => false * ``` */ isEmpty(this: AS): this is []; } interface ReadonlyArray { /** * Returns `true` if length of the array is `0`. * * @example * ```typescript * [].isEmpty(); // => true * [1, 2, 3].isEmpty(); // => false * ``` */ isEmpty(): this is readonly []; } } export {}; //# sourceMappingURL=isEmpty.d.ts.map