Remove random boolean color
This commit is contained in:
parent
cdc0d12a98
commit
75331e4297
@ -10,7 +10,7 @@ namespace Math {
|
||||
* Generates a `true` or `false` value randomly, just like flipping a coin.
|
||||
*/
|
||||
//% blockId=logic_random block="pick random true or false"
|
||||
//% help=math/random-boolean color=230
|
||||
//% help=math/random-boolean
|
||||
export function randomBoolean(): boolean {
|
||||
return Math.random(2) == 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user