True if this is an IP address, false if it's a DNS name or hostname.
True if this is not an IP address and has no dots or is a multicast name (ending ".
True if this is not an IP address and has no dots or is a multicast name (ending ".local").
Tests whether this domain matches some URL.
Gets the parent domain, if any.
Gets the parent domain, if any. This is obtained by removing the section from the start of the domain name to the first dot. It stops before returning a top-level domain (TLD), therefore the result will always contain at least one dot.
Models a domain name (as used in cookies).