Appearance
GetBool Method
Definition
- Namespace:
JASE - Assembly:
JASE.Primitives.dll
bool GetBool(double trueChance = null)
csharp
bool GetBool(double trueChance = null)Returns true with the specified chance (percentage from 0 to 100). Defaults to 50% (coin flip). Values less than or equal to 0 return false Values greater than or equal to 100 return true