< 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#">...") |
|||
Line 17: | Line 17: | ||
=== Return Value === | === Return Value === | ||
+ | Type: System.Boolean | ||
+ | |||
Returns {{cs|true}} if DieType is DieType.Normal, DieType.Fudge, or DieType.Group, and {{cs|false}} otherwise. | Returns {{cs|true}} if DieType is DieType.Normal, DieType.Fudge, or DieType.Group, and {{cs|false}} otherwise. |
Latest revision as of 19:11, 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
Type: System.Boolean
Returns true
if DieType is DieType.Normal, DieType.Fudge, or DieType.Group, and false
otherwise.