Skip to content

Function: readSet() ​

ts
function readSet(query): DiceSet | null;

Defined in: src/sets.ts:96

A set from a link's query, or null when it holds none or its dice cannot be rolled. A link with dice and no name is a set called by its notation.

Parameters ​

query ​

string | URLSearchParams

Returns ​

DiceSet | null

MIT © John Morris