declare global { interface StringConstructor { /** * Returns `true` if value is null, undefined, or an empty string. * * @example * ```typescript * String.isEmpty(null); // => true * String.isEmpty(undefined); // => true * String.isEmpty(''); // => true * String.isEmpty(' '); // => false * String.isEmpty('a'); // => false * String.isEmpty(0); // => false * ``` * * @example * ```typescript * const foo: string | null | '' = null; * if (String.isEmpty(foo)) { * const bar = foo; // bar :: null | '' * } * ``` */ isEmpty(value: unknown): value is null | undefined | ''; } } export {}; //# sourceMappingURL=isEmpty.d.ts.map