Word

random

A number from 0 up to, and not with, 1. It may stand in a change, a seed, an action and inside a step, and in no query.

Example

TypeScript
set: orders.change(input('order'), { lucky: calc('<', random(), 0.5) })

Returns

The number, which it asks the engine for. Where a definition is being made it answers its record, { "random": true }.

See also

topic.values, word.token |