Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

function hostname

#hostname(): string

Returns the host name of the operating system as a string.

Return Type #

string