type

external val type: ResponseType(source)

The type read-only property of the Response interface contains the type of the response. The type determines whether scripts are able to access the response body and headers.

MDN Reference