function rename Usage in Deno```typescript import { rename } from "node:node__fs--promises.d.ts"; ``` rename(oldPath: PathLike,newPath: PathLike,): Promise<void> Renames `oldPath` to `newPath`. Parameters oldPath: PathLike newPath: PathLike Return Type Promise<void> Fulfills with `undefined` upon success.