Skip to content

chance

chance(p): boolean

Defined in: packages/threeplay/src/core/math.ts:61

true with probability p (0–1).

number

boolean