Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 690 Bytes

pwd.md

File metadata and controls

35 lines (24 loc) · 690 Bytes

pwd (function)

Returns the process's current working directory.

Provides the same functionality as the shell builtin of the same name.

const pwd: {
  (): Path;
  readonly initial: Path;
};

pwd(...) (call signature)

Returns the process's current working directory.

Provides the same functionality as the shell builtin of the same name.

(): Path;

pwd.initial (Path property)

A frozen, read-only Path object containing what pwd() was when yavascript first started up.

readonly initial: Path;