parse_roll_cmd: A roll command parser

Description Usage Arguments Value

View source: R/parse_roll_cmd.R

Description

The roll command parser transform a complex roll command into a set of individual rolls and operations.

Usage

1
parse_roll_cmd(roll_cmd)

Arguments

roll_cmd

a string containing the roll command.

Value

a list containing dice to roll and mathematical operators.


Felixmil/rollR documentation built on July 11, 2020, 2:36 a.m.