/*** * @module node-opcua-basic-types */ /** * return a random integer value in the range of min inclusive and max exclusive * @param min * @param max * @return {*} * @private */ export function getRandomInt(min: number, max: number): number { // note : Math.random() returns a random number between 0 (inclusive) and 1 (exclusive): return Math.floor(Math.random() * (max - min)) + min; }