matchRandomly

Description

Matches at random

Example

matchRandomly()

// Matching: "Hi"
// Not matching: "Hi"
// Not matching: "Hi"
// Matching: "Hi"

Usage

matchRandomly(chance = 0.5)

Parameters

chance:
number