destination

Pdestination
Bun

Symbol

Request.destination

readonly destination: RequestDestination

Returns the kind of resource requested by request, e.g., "document" or "script".

MDN Reference