Module random

ballerina/random Ballerina library

1.5.0

Overview

This module provides APIs to generate pseudo-random numbers.

The generated values are selected pseudo-randomly with uniform distribution from a particular range.

For information on the operations, which you can perform with the random module, see the below Functions.

Import

import ballerina/random;Copy

Other versions

See more...

Metadata

Released date: about 3 years ago

Version: 1.5.0

License: Apache-2.0


Security

No known vulnerabilities in libraries

Checked on 2026-11-15 via OSV.dev


Compatibility

Platform: java17

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 53815

Current verison: 7334


Weekly downloads


Source repository


Keywords

pseudo-random


Contributors