Function isWritableStreamClosedError

  • Check if an error indicates writes to a closed WritableStream.

    Parameters

    • error: unknown

      The error to check.

    Returns boolean

    True if the error is a writable stream closed error.