DieResult.IsSpecialDie Method (SpecialDie)

From DiceRoller Documentation

Checks if this die is a special die of the specified type.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public bool IsSpecialDie(
    SpecialDie specialDie
)

Parameters

specialDie
Type: Dice.SpecialDie
Type of special die to check for

Return Value

Type: System.Boolean

true if the die is a special die of type specialDie, false otherwise.