• Returns a cryptographically secure integer bewteen min and max values.

    Values are inclusive.

    Parameters

    • __namedParameters: {
          max: number;
          min: number;
      }
      • max: number
      • min: number

    Returns number

    Example

    between({ min: -10, max: 6 });
    // => 3;

Generated using TypeDoc