Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleEngine Compatibility

This library has not yet been ported to the New Pico Engine


The random library provides a few convenience utilities to generate random content

...

Returns a random word from the Unix standard dictionary

Code Block
language
languagejavascript
themeConfluencejavascript
str = random:word()

uuid

Generates a UUID

Code Block
languagejavascript
themeConfluence
languagejavascript
str = random:uuid()

...


Note that there is no method for generating a random number in this library.  That is available from math:random()