@dice-roller/rpg-dice-roller / roll
Function: roll()
roll<
T>(input,options?):Roll<T>
Defined in: src/index.ts:22
Shorthand for new Roll(input, options): rolls notation (or an AST) once, without a history.
Type Parameters
T
T = string
Parameters
input
string | ExpressionNode
options?
RollOptions<T> | RollSettings<T>
Returns
Roll<T>