Skip to content

Function: parseNotation() ​

ts
function parseNotation(text, options?): RollSpec | null;

Defined in: src/notation.ts:626

A spec from notation, or null when the text is not dice this roller can throw. checkNotation says why.

Parameters ​

text ​

string

options? ​

NotationOptions = {}

Returns ​

RollSpec | null

MIT © John Morris