UNPKG

@monstermann/fn

Version:

A utility library for TypeScript.

22 lines 391 B
//#region src/string/isEmpty.d.ts /** * `isEmpty(target)` * * Checks if `target` string is empty. * * ```ts * isEmpty(""); // true * isEmpty("hello"); // false * ``` * * ```ts * pipe("", isEmpty()); // true * pipe("hello", isEmpty()); // false * ``` */ declare const isEmpty: { (): (target: string) => boolean; (target: string): boolean; }; //#endregion export { isEmpty };