Skip to content

Function: readSharedMany() ​

ts
function readSharedMany(query): Roll[] | null;

Defined in: src/share.ts:40

A shared set of rolls from a query string, or null when it does not hold one: as many rolls as the notation's # says, each with faces its dice could show.

Parameters ​

query ​

string | URLSearchParams

Returns ​

Roll[] | null

MIT © John Morris