mxs
Version:
⚔️ Lightweight functional JavaScript utilities
15 lines (14 loc) • 326 B
TypeScript
/**
* It checks if value is empty
*
* @category Function
* @param {any} - value to be checked
* @returns {Boolean} returns boolean if value is empty
*
* @example
* isEmpty('') //=> true
* isEmpty({}) //=> true
* isEmpty([]) //=> true
* isEmpty() //=> true
*/
export declare const isEmpty: (value: any) => boolean;