Skip to main content

Variable.isBareDomain

const isBareDomain: (s: string) => boolean;

Whether s is a bare lowercase domain name per BARE_DOMAIN_REGEX.

Parameters

ParameterType
sstring

Returns

boolean