Class: Entanglement

Entanglement()

Utilities routines for the Entanglement library.

Constructor

new Entanglement()

Source:

Methods

(static) getInt(v) → {number}

Choose an integer value

Parameters:
Name Type Description
v number | Range

A value or value range.

Source:
Returns:

Return the value passed in or a random value from the Range passed in as an integer.

Type
number

(static) getMinValue(v) → {number}

Get the minimum value

Parameters:
Name Type Description
v number | Range

A value or value range.

Source:
Returns:

Return the value passed in or the minimum value from the Range passed in.

Type
number

(static) getValue(v) → {number}

Choose a value

Parameters:
Name Type Description
v number | Range

A value or value range.

Source:
Returns:

Return the value passed in or a random value from the Range passed in.

Type
number