Pencrypted
Bun

property

tls.TLSSocket.encrypted

encrypted: true

Always returns true. This may be used to distinguish TLS sockets from regularnet.Socket instances.