time-to-botec/squiggle/node_modules/@stdlib/process/chdir/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

26 lines
508 B
Plaintext

{{alias}}( path )
Changes the current working directory.
If unable to set the current working directory (e.g., due to a non-existent
path), the function returns an error; otherwise, the function returns
`null`.
Parameters
----------
path: string
Desired working directory.
Returns
-------
err: Error|null
Error object or null.
Examples
--------
> var err = {{alias}}( '/path/to/current/working/directory' )
See Also
--------