X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils%2Findex.ts;h=7c876834ed260ee32aad32656edab3d7e5fac3f5;hb=66b40cf34ebe01c358b4fd9a77266588b70b2e57;hp=4d5a38acfe4c35ca977ab64b5139fd8602518028;hpb=da55bd34b987cea87c4fd1e508f3a24cee6f5418;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 4d5a38ac..7c876834 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -39,6 +39,7 @@ export { getRandomFloatRounded, getRandomInteger, getWebSocketCloseEventStatusString, + isArraySorted, isEmptyArray, isEmptyObject, isEmptyString, @@ -46,12 +47,15 @@ export { isNotEmptyString, isNullOrUndefined, isUndefined, + isValidTime, logPrefix, - promiseWithTimeout, + max, + min, + once, roundTo, secureRandom, sleep, validateUUID, } from './Utils'; -export { median, nthPercentile, stdDeviation } from './StatisticUtils'; +export { average, median, nthPercentile, stdDeviation } from './StatisticUtils'; export { logger } from './Logger';