ConfirmStatus

elements.ConfirmStatus (Abstract)

Represents the status of a confirmation dialog or action.

This abstract type encodes different states using integer values:

  • Positive values (>= 0): Custom confirmation with index
  • 0: Standard confirmation
  • -1: Pending/incomplete state
  • -2: Canceled state

Can be implicitly converted to Bool (true when confirmed).

See: PromptStatus For text input dialogs, ListStatus For list selection dialogs

Type Conversions

From:

  • [Int](/api-docs/clay-native/Int/)

To:

  • [Int](/api-docs/clay-native/Int/)