Summary
Generates a weighted Boolean value
Syntax
public static bool Next(double trueProbability)
Parameters
| Name | Type | Description |
|---|---|---|
| trueProbability | double | The probability to have a true value. Ranges from 0.0 to 1.0. |
Return Value
| Type | Description |
|---|---|
| bool | The random boolean value |