[][src]Function rfyl::roll

pub fn roll(input: String) -> Result<DiceRolls, Box<dyn Error>>

Returns a DiceRolls object based on the provided formula.

Arguments

  • input - A string that provides the dice notation to work off.