redirected property

bool get redirected

Indicates whether or not the response is the result of a redirect (that is, its URL list has more than one entry).

MDN Reference

Implementation

bool get redirected;