Module random

ballerina/random Ballerina library

1.7.2

Overview

This module provides APIs to generate pseudo-random numbers. The generated values are selected pseudo-randomly with uniform distribution from a particular range.

Key Features

  • Pseudo-random number generation with uniform distribution
  • Generation within a specified range

Import

import ballerina/random;Copy

Other versions

See more...

Metadata

Released date: about 1 month ago

Version: 1.7.2

License: Apache-2.0


Security

No known vulnerabilities in libraries

Checked on 2026-11-18 via OSV.dev


Compatibility

Platform: java21

Ballerina version: 2201.12.0

GraalVM compatible: Yes


Pull count

Total: 0

Current verison: 9300


Weekly downloads


Source repository


Keywords

pseudo-random

Type/Library

Area/Data Formats & Utilities

Name/Random


Contributors