deno.com
property Socket.prototype.remoteFamily

The string representation of the remote IP family. 'IPv4' or 'IPv6'. Value may be undefined if the socket is destroyed (for example, if the client disconnected).

Type #

string | undefined