< Dice | ExtensionMethods
Difference between revisions of "Dice/ExtensionMethods/IsRoll"
From DiceRoller Documentation
(Created page with "{{APIdoc|ExtensionMethods.IsRoll Method (DieType)}} Determines whether or not the DieType represents a roll. {{ns}} == Syntax == <syntaxhighlight lang="C#">...") |
(No difference)
|
Revision as of 19:09, 25 April 2017
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
Returns true
if DieType is DieType.Normal, DieType.Fudge, or DieType.Group, and false
otherwise.