Skip to content

Duel.IsEndPhase

Source Code | Usage Examples | Duel Functions

Checks if it is currently the End Phase.

Signature

Duel.IsEndPhase([int player]) → bool

lua
Duel.IsEndPhase(player)

Parameters

  • int player

    Optional.

    If provided, the function will also check if it is currently that player's turn.

Returns

  • bool

    true if it is currently the End Phase, false otherwise.