declare global { interface String { /** * Returns `true` if the string is empty. * * @example * ```typescript * ''.isEmpty(); // => true * ' '.isEmpty(); // => false * ``` * * @example * ```typescript * const foo = 'hello'; * if (foo.isEmpty()) { * const bar = foo; // bar :: '' * } * ``` */ isEmpty(): this is ''; } } export {}; //# sourceMappingURL=isEmpty.d.ts.map