X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=5915ae774afb0bb58f928b7cd7b13cebbb5aff35;hb=2af834a91b2ed3ca95de2af7cbb86c59f13c1c0f;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..5915ae77 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -39,6 +39,7 @@ export { getRandomFloatRounded, getRandomInteger, getWebSocketCloseEventStatusString, + isArraySorted, isEmptyArray, isEmptyObject, isEmptyString, @@ -46,6 +47,7 @@ export { isNotEmptyString, isNullOrUndefined, isUndefined, + isValidTime, logPrefix, promiseWithTimeout, roundTo, @@ -53,5 +55,5 @@ export { sleep, validateUUID, } from './Utils'; -export { median, nthPercentile, stdDeviation } from './StatisticUtils'; +export { average, median, nthPercentile, stdDeviation } from './StatisticUtils'; export { logger } from './Logger';