Skip to content

isHostLiteral

isHostLiteral(operand): boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/openWorld.ts:320

Does this operand name a host — a URL scheme, a user@host, an IPv4 literal, or an scp-style host:path? Deliberately syntactic: it asks “is a counterparty named here”, never “is that counterparty trustworthy” (§4.1.1).

string

boolean