Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "diceforge"

Index

Functions

forgeDice

  • forgeDice(expression: string): Die[]
  • Create dice based on the input expression

    remarks

    Handles explosive dice

    Parameters

    • expression: string

      The string to parse for a dice expression

    Returns Die[]

    An array of dice

testExpression

  • testExpression(expression: string): boolean
  • Parameters

    • expression: string

    Returns boolean

Generated using TypeDoc