homeDir

external fun homeDir(): Promise<String>(source)

Returns the path to the user's home directory.

Platform-specific

  • Linux: Resolves to $HOME.

  • macOS: Resolves to $HOME.

  • Windows: Resolves to {FOLDERID_Profile}.

Since

1.0.0