• Determines whether the provided AbortSignal has been aborted.

    Primarily provided for source-level consistency and readability when checking cooperative cancellation in loops and async operations.

    Parameters

    • Optionalsignal: AbortSignal

      An optional AbortSignal to check.

    Returns boolean

    true if the signal is defined and aborted; otherwise false.