Skip to content

Function: makeSet() ​

ts
function makeSet(name, dice): DiceSet | null;

Defined in: src/sets.ts:26

A set from a name and a roll, or null when the name is empty or too long or the dice cannot be rolled. The name is trimmed.

Parameters ​

name ​

string

dice ​

string | RollSpec

Returns ​

DiceSet | null

MIT © John Morris