mirror of
https://github.com/jacobtread/obsidian-timekeep.git
synced 2026-07-22 10:10:27 +00:00
9 lines
225 B
TypeScript
9 lines
225 B
TypeScript
/**
|
|
* Checks if the provided string is empty
|
|
*
|
|
* @param value The string to check
|
|
* @returns Whether the string is empty
|
|
*/
|
|
export function isEmptyString(value: string): boolean {
|
|
return value.trim().length === 0;
|
|
}
|