type

external val type: RTCSdpType(source)

The property RTCSessionDescription.type is a read-only string value which describes the description's type.

MDN Reference