< Dice | ExtensionMethods
ExtensionMethods.IsRoll Method (DieType)
From DiceRoller Documentation
Determines whether or not the DieType represents a roll.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
internal static bool IsRoll(
this DieType type
)
Parameters
- type
- Type: Dice.DieType
- The DieType to check.
Return Value
Type: System.Boolean
Returns true
if DieType is DieType.Normal, DieType.Fudge, or DieType.Group, and false
otherwise.