RandomUtil

A wrapper around rando-js See https://github.com/seanohue/rando for documentation.

Constructor

new RandomUtil()

Methods

static probability(percentChance) → {boolean}

Check to see if a given percent chance occurs

Parameters:
Name Type Description
percentChance number

a 0-100 number representing % success chance

Returns:
boolean