Module random

ballerina/random Ballerina library

1.7.1

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: 2 days ago

Version: 1.7.1

License: Apache-2.0


Compatibility

Platform: java21

Ballerina version: 2201.12.0

GraalVM compatible: Yes


Pull count

Total: 41249

Current verison: 249


Weekly downloads


Source repository


Keywords

pseudo-random

Type/Library

Area/Built-in

Name/Random


Contributors