Check if host is local
Details
Given the hostname is this the localhost. This returns true if either the value is localhost, or the value is the same as the fqdn.
Examples
is.localhost(fqdn())
#> [1] TRUE
Check if host is local
Given the hostname is this the localhost. This returns true if either the value is localhost, or the value is the same as the fqdn.
is.localhost(fqdn())
#> [1] TRUE