isDevHost

utils · /index·function

True when the host belongs to a development TLD (.localhost, .test).

Signature

@nordcom/commerce-utils
function isDevHost(host: string): boolean;

Parameters

NameTypeDescription
hoststring

ParsedHost AppName BuildEnv DevTld Hostname ShopHandle appFromHost isDevelopment

Sourcehostname.ts:145Edit the JSDoc directly
Metadata@nordcom/commerce-utils@0.0.0Open in GitHub ↗

On this page