test: improve clone() test expectation
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / Utils.ts
index a9eb33b3277cbba434c0d7c671fb76834985b6ff..2f9c1ac5e92e669e7113813a378da986f8f11236 100644 (file)
@@ -1,8 +1,3 @@
-export const ifUndefined = <T>(value: T | undefined, isValue: T): T => {
-  if (value === undefined) return isValue
-  return value as T
-}
-
 // export const compose = <T>(...fns: ((arg: T) => T)[]): ((x: T) => T) => {
 //   return (x: T) => fns.reduceRight((y, fn) => fn(y), x)
 // }