import { Equals } from "../type"; /** * whether `S` is the empty string `""`. * does not consider union types including the empty string to "be" the empty string. * * @since 0.0.2 * * @example * type e0 = IsEmpty // false * type e0 = IsEmpty<''> // true * type e1 = IsEmpty<' '> // false * type e2 = IsEmpty<'foo'> // false * type e3 = IsEmpty<'' | 'foo'> // false */ export type IsEmpty = Equals; /** * @since 0.0.2 */ export type IsEmptyString = T extends string ? IsEmpty : false; //# sourceMappingURL=is-empty.d.ts.map