Remove useless eslint-disable
[e-mobility-charging-stations-simulator.git] / src / utils / Utils.ts
index 4fb2ce7bd2e5482a431b608f777e6b05475035f9..8eebc2abe64a2526984ee2f0eb2bf56ddcaa505f 100644 (file)
@@ -171,6 +171,10 @@ export default class Utils {
     return typeof value === 'string';
   }
 
+  public static isEmptyString(value: unknown): boolean {
+    return Utils.isString(value) && (value as string).length === 0;
+  }
+
   public static isUndefined(value: unknown): boolean {
     return typeof value === 'undefined';
   }