This function checks if a value is empty. It considers strings, arrays, and objects.
Strings are considered empty if they are equal to an empty string.
Arrays and Sets are considered empty if they have no elements.
Objects and Maps are considered empty if they have no properties.
Template: T
The type of the value.
Param: value
The value to check.
Returns
Returns true if the value is empty, otherwise false.
Checks if a value is empty.
This function checks if a value is empty. It considers strings, arrays, and objects. Strings are considered empty if they are equal to an empty string. Arrays and Sets are considered empty if they have no elements. Objects and Maps are considered empty if they have no properties.
Template: T
The type of the value.
Param: value
The value to check.
Returns
Example